aboutsummaryrefslogtreecommitdiff
path: root/picohttp.h
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-06-18 20:19:36 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-06-18 20:19:36 +0200
commit3fe9937a5505528b0a2ac17875b9117c8c17c3ff (patch)
treedd7eb7a3b9fa86137b794ccd4a6650c30dd14fa1 /picohttp.h
parentfeb3e1de269c3c72a7c7925cfb81415189cf54f9 (diff)
parentfc9f3c0bde26bc882bdfe1ec0435ade8b60172f4 (diff)
downloadlitheweb-3fe9937a5505528b0a2ac17875b9117c8c17c3ff.tar.gz
litheweb-3fe9937a5505528b0a2ac17875b9117c8c17c3ff.tar.bz2
Merge branch 'master' of github.com:datenwolf/picoweb
Diffstat (limited to 'picohttp.h')
-rw-r--r--picohttp.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/picohttp.h b/picohttp.h
index 38cdd76..ced2ef5 100644
--- a/picohttp.h
+++ b/picohttp.h
@@ -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*/