diff options
author | Werner Koch <[email protected]> | 2013-02-21 19:25:12 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2013-02-21 19:25:12 +0000 |
commit | 4af0c62b15c51056dc293c8e3b907e7c41fbf08c (patch) | |
tree | 13f3ad09ea7734ff486db5d79d9dde3dbf11d887 /common/stringhelp.h | |
parent | Remove build hacks for FreeBSD. (diff) | |
download | gnupg-4af0c62b15c51056dc293c8e3b907e7c41fbf08c.tar.gz gnupg-4af0c62b15c51056dc293c8e3b907e7c41fbf08c.zip |
common: Add func has_leading_keyword.
* common/stringhelp.c (has_leading_keyword): New.
Diffstat (limited to 'common/stringhelp.h')
-rw-r--r-- | common/stringhelp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/stringhelp.h b/common/stringhelp.h index 60ba12b8c..c1f7ea12d 100644 --- a/common/stringhelp.h +++ b/common/stringhelp.h @@ -34,6 +34,8 @@ #include "types.h" +char *has_leading_keyword (const char *string, const char *keyword); + const char *memistr (const void *buf, size_t buflen, const char *sub); char *mem2str( char *, const void *, size_t); char *trim_spaces( char *string ); |