Annotation of libwww/Library/src/HTString.html, revision 2.2
2.1 timbl 1: <PRE>
2: /* Case-independent string comparison HTString.h
3: ** and allocations with copies
4: */
5: #ifndef HTSTRING_H
6: #define HTSTRING_H
7:
8: #include "HTUtils.h"
9:
10: extern int WWW_TraceFlag; /* Global flag for all W3 trace */
11:
12: extern CONST char * HTLibraryVersion; /* String for help screen etc */
13:
14: extern int strcasecomp PARAMS((CONST char *a, CONST char *b));
15: extern int strncasecomp PARAMS((CONST char *a, CONST char *b, int n));
16:
17: extern char * HTSACopy PARAMS ((char **dest, CONST char *src));
18: extern char * HTSACat PARAMS ((char **dest, CONST char *src));
19:
20: /* Enable the old macro-like calling methods */
2.2 ! timbl 21: #define StrAllocCopy(dest, src) HTSACopy (&(dest), src)
! 22: #define StrAllocCat(dest, src) HTSACat (&(dest), src)
2.1 timbl 23:
24: #endif
25: </PRE>
Webmaster