]> diplodocus.org Git - nmh/blobdiff - h/utils.h
Reworked output handling.
[nmh] / h / utils.h
index edb2ab03d31ca0be32436e8cbdc3fa1cf62a7e2b..fe05493185046c4ff7947b4bbd2b67fa47476311 100644 (file)
--- a/h/utils.h
+++ b/h/utils.h
@@ -63,7 +63,12 @@ char *find_str (const char [], size_t, const char *);
 char *rfind_str (const char [], size_t, const char *);
 char *nmh_strcasestr (const char *, const char *);
 
+bool HasPrefix(const char *s, const char *prefix);
+bool HasSuffix(const char *s, const char *suffix);
+bool HasSuffixC(const char *s, int c);
 void TrimSuffixC(char *s, int c);
+void ToLower(char *s);
+void ToUpper(char *s);
 
 /*
  * See if a string contains 8 bit characters (use isascii() for the test).