summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-07-19 02:36:11 -0400
committerNick Mathewson <nickm@torproject.org>2011-07-19 02:36:11 -0400
commit94f85f216ae4b6196d2a3438bfaf328375ebaad6 (patch)
treeb47b9c81e3722e8c41d35ade6c844a9dd7ebc0a5 /src/common/util.h
parent891ccd3cd0690e83f1dc4dde7698c3bd9d7fe98d (diff)
downloadtor-94f85f216ae4b6196d2a3438bfaf328375ebaad6.tar.gz
tor-94f85f216ae4b6196d2a3438bfaf328375ebaad6.zip
Turn streq_opt into a generic strcmp_opt.
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index de06c3c5fa..99355871f6 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -175,6 +175,7 @@ void tor_strlower(char *s) ATTR_NONNULL((1));
void tor_strupper(char *s) ATTR_NONNULL((1));
int tor_strisprint(const char *s) ATTR_PURE ATTR_NONNULL((1));
int tor_strisnonupper(const char *s) ATTR_PURE ATTR_NONNULL((1));
+int strcmp_opt(const char *s1, const char *s2) ATTR_PURE;
int strcmpstart(const char *s1, const char *s2) ATTR_PURE ATTR_NONNULL((1,2));
int strcmp_len(const char *s1, const char *s2, size_t len)
ATTR_PURE ATTR_NONNULL((1,2));