X-Git-Url: https://git.deb.at/w?p=pkg%2Fabook.git;a=blobdiff_plain;f=misc.h;h=f7713ac717df22e33fd48cfe1eabf9064af2126d;hp=d01691bdc60e51848618dbdcb3950590d117cff7;hb=HEAD;hpb=7751b3edc145646e6b55e2fda82eb5619fbe0074 diff --git a/misc.h b/misc.h index d01691b..f7713ac 100644 --- a/misc.h +++ b/misc.h @@ -16,6 +16,8 @@ char *strupper(char *str); char *strlower(char *str); char *strtrim(char *); +int is_number(char *s); + char *strdup_printf(const char *format, ... ); char *strconcat(const char *str, ...); @@ -52,8 +54,8 @@ int snprintf (char *str, size_t count, const char *fmt, ...); #ifndef HAVE_VSNPRINTF int vsnprintf (char *str, size_t count, const char *fmt, va_list arg); #endif - +#ifndef HAVE_STRCASESTR +char *strcasestr(const char *, const char *); #endif - - +#endif