Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

SRC/strings.h

Go to the documentation of this file.
00001 00003 #ifndef _w32_STRINGS_H 00004 #define _w32_STRINGS_H 00005 00006 #define _printf NAMESPACE (_printf) 00007 #define _outch NAMESPACE (_outch) 00008 #define outs NAMESPACE (outs) 00009 #define outsnl NAMESPACE (outsnl) 00010 #define outsn NAMESPACE (outsn) 00011 #define outhexes NAMESPACE (outhexes) 00012 #define outhex NAMESPACE (outhex) 00013 #define rip NAMESPACE (rip) 00014 #define StrLcpy NAMESPACE (StrLcpy) 00015 #define strntrimcpy NAMESPACE (strntrimcpy) 00016 #define strrtrim NAMESPACE (strrtrim) 00017 #define strltrim NAMESPACE (strltrim) 00018 #define strreplace NAMESPACE (strreplace) 00019 #define atox NAMESPACE (atox) 00020 00021 /* Points to current var-arg print routine. 00022 * Need gcc 3.x for printf-check on func-pointers. 00023 */ 00024 W32_DATA int (MS_CDECL *_printf) (const char *fmt, ...) ATTR_PRINTF(1,2); 00025 00026 /* Points to current character output handler. 00027 */ 00028 W32_DATA void (*_outch) (char c); 00029 00030 W32_FUNC void outs (const char *s); /* print a ASCIIZ string to stdio */ 00031 W32_FUNC void outsnl (const char *s); /* print a ASCIIZ string w/newline */ 00032 W32_FUNC void outsn (const char *s, int n); /* print a string with len max n */ 00033 W32_FUNC void outhexes(const char *s, int n); /* print a hex-string with len n */ 00034 W32_FUNC void outhex (char ch); /* print a hex-char to stdio */ 00035 W32_FUNC char *rip (char *s); /* strip off '\r' and '\n' from s */ 00036 00037 extern char *strreplace (int ch1, int ch2, char *str); 00038 extern char *StrLcpy (char *dst, const char *src, size_t len); 00039 extern size_t strntrimcpy (char *dst, const char *src, size_t len); 00040 extern char *strrtrim (char *src); 00041 extern char *strltrim (const char *src); 00042 extern BYTE atox (const char *src); 00043 00044 #endif 00045

Generated on Wed Aug 4 08:55:54 2010 for Watt-32 tcp/ip by doxygen 1.3.8