diff options
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h index 46f337955..34015ffe6 100644 --- a/include/util.h +++ b/include/util.h @@ -92,10 +92,16 @@ int answer_is_yes( const char *s ); void free_strlist( STRLIST sl ); #define FREE_STRLIST(a) do { free_strlist((a)); (a) = NULL ; } while(0) char *memistr( char *buf, size_t buflen, const char *sub ); +char *trim_spaces( char *string ); +int string_count_chr( const char *string, int c ); + #define stricmp(a,b) strcasecmp((a),(b)) #ifndef HAVE_STPCPY char *stpcpy(char *a,const char *b); #endif +#ifndef HAVE_STRLWR +char *strlwr(char *a); +#endif /******** some macros ************/ |