drop str_adjust: we don't care about a few octets unused, please do me a
[apps/madmutt.git] / lib / str.h
index b9adfec..b5bf82f 100644 (file)
--- a/lib/str.h
+++ b/lib/str.h
@@ -7,12 +7,19 @@
  * 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*);
+int str_eq (const char*, const char*);
+const char *str_isstr (const char*, const char*);
+void str_skip_trailws (char*);
 
 #endif /* !_LIB_STR_H */