diff options
author | Wolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de> | 2013-06-18 20:19:36 +0200 |
---|---|---|
committer | Wolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de> | 2013-06-18 20:19:36 +0200 |
commit | 3fe9937a5505528b0a2ac17875b9117c8c17c3ff (patch) | |
tree | dd7eb7a3b9fa86137b794ccd4a6650c30dd14fa1 /picohttp.h | |
parent | feb3e1de269c3c72a7c7925cfb81415189cf54f9 (diff) | |
parent | fc9f3c0bde26bc882bdfe1ec0435ade8b60172f4 (diff) | |
download | litheweb-3fe9937a5505528b0a2ac17875b9117c8c17c3ff.tar.gz litheweb-3fe9937a5505528b0a2ac17875b9117c8c17c3ff.tar.bz2 |
Merge branch 'master' of github.com:datenwolf/picoweb
Diffstat (limited to 'picohttp.h')
-rw-r--r-- | picohttp.h | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -96,7 +96,7 @@ struct picohttpURLRoute { int16_t allowed_methods; }; -#define PICOHTTP_EPOCH_YEAR 1980 +#define PICOHTTP_EPOCH_YEAR 1970 struct picohttpDateTime { unsigned int Y:7; /* EPOCH + 127 years */ @@ -159,4 +159,15 @@ int picohttpResponseWrite ( size_t len, char const *buf ); +uint16_t picohttpGetch( + struct picohttpRequest * const req, + struct picohttpChunkTransfer * const ct); + +int picohttpMultipartNext( + struct picohttpRequest * const req, + struct picohttpMultiPart * const mp); + +uint16_t picohttpMultipartGetch( + struct picohttpMultiPart * const mp); + #endif/*PICOHTTP_H_HEADERGUARD*/ |