#ifndef HTSTRING_H #define HTSTRING_H #include "HTUtils.h" extern CONST char * HTLibraryVersion; /* String for help screen etc */
extern int strcasecomp PARAMS((CONST char *a, CONST char *b)); extern int strncasecomp PARAMS((CONST char *a, CONST char *b, int n));
strstr()
but is not case-sensitive.
PUBLIC char * strcasestr PARAMS((char * s1, char * s2));
#define StrAllocCopy(dest, src) HTSACopy (&(dest), src) #define StrAllocCat(dest, src) HTSACat (&(dest), src) extern char * HTSACopy PARAMS ((char **dest, CONST char *src)); extern char * HTSACat PARAMS ((char **dest, CONST char *src));
extern char * HTNextField PARAMS ((char** pstr)); #endifend