X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib%2Fstr.h;h=636e28813b88a1980a1944b84374223a00e0db4e;hp=b9adfec89fcc2a47952acb51d3268be6d70da763;hb=c8bf978fc5c4f6c793620a515fa2456a3fa9eb13;hpb=203e950e3d3c76795fa49895d040f732adad2049 diff --git a/lib/str.h b/lib/str.h index b9adfec..636e288 100644 --- a/lib/str.h +++ b/lib/str.h @@ -7,12 +7,21 @@ * It's licensed under the GNU General Public License, * please see the file GPL in the top level source directory. */ - -/* mutt functions which are generally useful. */ - #ifndef _LIB_STR_H #define _LIB_STR_H -#define NONULL(x) x?x:"" +#include + +/* + * tools + */ +char *str_tolower (char*); +char *str_substrcpy (char*, const char*, const char*, size_t); +char *str_substrdup (const char*, const char*); +void str_replace (char**, const char*); +void str_adjust (char**); +int str_eq (const char*, const char*); +const char *str_isstr (const char*, const char*); +void str_skip_trailws (char*); #endif /* !_LIB_STR_H */