From 4ec5e139c8442b321ef9b58684da547ea0388261 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 22 May 2007 02:20:52 +0000 Subject: r12850@catbus: nickm | 2007-05-21 22:20:42 -0400 Partial backport candidate: do not rely on finding a \0 after an mmaped() router/extrainfo file. Also, set journal length correctly when starting up. svn:r10248 --- src/common/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/util.h') diff --git a/src/common/util.h b/src/common/util.h index 7a0335935b..6b32708c5e 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -167,6 +167,7 @@ uint64_t tor_parse_uint64(const char *s, int base, uint64_t min, uint64_t max, int *ok, char **next); 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 *find_whitespace(const char *s) ATTR_PURE; int tor_mem_is_zero(const char *mem, size_t len) ATTR_PURE; -- cgit v1.2.3-54-g00ecf