diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-06-02 15:26:57 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-06-02 15:26:57 +0000 |
commit | aee7f016242c0fea9243be1c82a67b804bfb6792 (patch) | |
tree | 6e28814091a4325047b48c2d95131f21ef25a846 /src/common/util.h | |
parent | 80954dcd2faefe477bd0a3b646ffd3dce3c56481 (diff) | |
download | tor-aee7f016242c0fea9243be1c82a67b804bfb6792.tar.gz tor-aee7f016242c0fea9243be1c82a67b804bfb6792.zip |
r13154@catbus: nickm | 2007-06-02 11:26:44 -0400
Server-side support for If-Modified-Since in HTTP requsts for v1 stuff, and for network-status documents.
svn:r10451
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h index ab8aea86e8..0f0902452f 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -198,6 +198,7 @@ int parse_rfc1123_time(const char *buf, time_t *t); void format_local_iso_time(char *buf, time_t t); void format_iso_time(char *buf, time_t t); int parse_iso_time(const char *buf, time_t *t); +int parse_http_time(const char *buf, struct tm *tm); /* File helpers */ int write_all(int fd, const char *buf, size_t count, int isSocket); |