1 #ifndef XSTRING_H_DEFINED_
2 #define XSTRING_H_DEFINED_
3 
4 #ifdef HAVE_STRING_H
5 #include <string.h>
6 #else
7 #endif
8 
9 extern void	Memmove ARGS((void *target_, const void *source_, size_t n_));
10 extern void	*Memset ARGS((void *target_, int value_, size_t n_));
11 extern char	*Strdup ARGS((const char *));
12 extern int	stricmp ARGS((const char *, const char *));
13 extern char	*stristr ARGS((const char *s_, const char *sub_));
14 extern int	strnicmp ARGS((const char *s1_, const char *s2_, size_t n_));
15 
16 #define STREQUAL(a,b)	(strcmp(a,b) == 0)
17 #define STRGREATER(a,b)	(strcmp(a,b) > 0)
18 
19 #endif /* XSTRING_H_DEFINED_ */
20