summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-07-10 20:08:18 +0000
committerNick Mathewson <nickm@torproject.org>2007-07-10 20:08:18 +0000
commit7e20fdbefb5f1ecad8fcb4b4876c937dc55d1615 (patch)
tree342979c5f6aa570128de4ed972becd8fae064e20 /src/common/util.h
parentd6ba1c3d960d943dcded1d108f1b1c4bd15b0add (diff)
downloadtor-7e20fdbefb5f1ecad8fcb4b4876c937dc55d1615.tar.gz
tor-7e20fdbefb5f1ecad8fcb4b4876c937dc55d1615.zip
r13687@catbus: nickm | 2007-07-10 16:08:14 -0400
Possible partial fix for bug 455: use eos logic everywhere. svn:r10786
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 0da98625c0..68d1333cba 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -173,7 +173,9 @@ const char *hex_str(const char *from, size_t fromlen) ATTR_NONNULL((1));
const char *eat_whitespace(const char *s) ATTR_PURE;
const char *eat_whitespace_eos(const char *s, const char *eos) ATTR_PURE;
const char *eat_whitespace_no_nl(const char *s) ATTR_PURE;
+const char *eat_whitespace_eos_no_nl(const char *s, const char *eos) ATTR_PURE;
const char *find_whitespace(const char *s) ATTR_PURE;
+const char *find_whitespace_eos(const char *s, const char *eos) ATTR_PURE;
int tor_mem_is_zero(const char *mem, size_t len) ATTR_PURE;
int tor_digest_is_zero(const char *digest) ATTR_PURE;
char *esc_for_log(const char *string) ATTR_MALLOC;