X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ad84a60e867db7e3f5e9357b4a16e619e1cacb43..b0aa8cdb1c264e42d4931ca24968689c73381278:/h/utils.h?ds=inline diff --git a/h/utils.h b/h/utils.h index 0ce68a7e..c8384b39 100644 --- a/h/utils.h +++ b/h/utils.h @@ -63,7 +63,8 @@ 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 HasSuffixC(char *s, int c); +bool HasPrefix(const char *s, const char *prefix); +bool HasSuffixC(const char *s, int c); void TrimSuffixC(char *s, int c); void ToLower(char *s); void ToUpper(char *s);