First attempt at debianization
[erwise] / Cl / WWWLibrary / HTString.h
1 /*              Case-independent string comparison              HTString.h
2 **              and allocations with copies
3 */
4 #ifndef HTSTRING_H
5 #define HTSTRING_H
6
7 #include "HTUtils.h"
8
9 extern int strcasecomp  PARAMS((CONST char *a, CONST char *b));
10 extern int strncasecomp PARAMS((CONST char *a, CONST char *b, int n));
11
12 extern char * HTSACopy PARAMS ((char **dest, CONST char *src));
13 extern char * HTSACat  PARAMS ((char **dest, CONST char *src));
14
15 /* Enable the old macro-like calling methods */
16 #define StrAllocCopy(dest, src) HTSACopy (&(dest), src)
17 #define StrAllocCat(dest, src)  HTSACat  (&(dest), src)
18
19 #endif