diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-30 03:10:56 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-30 03:10:56 +0000 |
commit | ad7db5e43ada3f3e192b537279b26f7c979cbaa2 (patch) | |
tree | 63ffff997518d1aed904680465a1038541a144e5 /src/common/util.h | |
parent | ee7bef1458bb1dcf78ed1990aea884ad04198fa6 (diff) | |
download | tor-ad7db5e43ada3f3e192b537279b26f7c979cbaa2.tar.gz tor-ad7db5e43ada3f3e192b537279b26f7c979cbaa2.zip |
Add casei versions of strcmpstart/strcmpend
svn:r3026
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h index 5b08fc855f..9fe7262aab 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -56,7 +56,9 @@ char *tor_strndup(const char *s, size_t n); #define HEX_CHARACTERS "0123456789ABCDEFabcdef" void tor_strlower(char *s); int strcmpstart(const char *s1, const char *s2); +int strcasecmpstart(const char *s1, const char *s2); int strcmpend(const char *s1, const char *s2); +int strcasecmpend(const char *s1, const char *s2); int tor_strstrip(char *s, const char *strip); typedef enum { ALWAYS_TERMINATE, NEVER_TERMINATE, TERMINATE_IF_EVEN |