move rfc2047.c into lib-mime, reindent it.
[apps/madmutt.git] / lib / str.h
index b9adfec..0f9a686 100644 (file)
--- a/lib/str.h
+++ b/lib/str.h
@@ -7,12 +7,20 @@
  * 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 <sys/types.h>
+
+/*
+ * tools
+ */
+char *str_tolower (char*);
+char *str_substrcpy (char*, const char*, const char*, size_t);
+char *str_substrdup (const 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 */