aboutsummaryrefslogtreecommitdiff
path: root/picohttp.h
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-06-25 15:01:24 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-06-25 15:01:24 +0200
commit2c6b42c55b3db99c664de543f32f2434948c5916 (patch)
tree964a1aa2252e9fb29b2e7dbe1269215305bba86e /picohttp.h
parent77be505fad9fbcea02b27cb89a196b1f230fe42f (diff)
downloadlitheweb-2c6b42c55b3db99c664de543f32f2434948c5916.tar.gz
litheweb-2c6b42c55b3db99c664de543f32f2434948c5916.tar.bz2
still superfluous <CR><LF><CR> at end of multipart block
Diffstat (limited to 'picohttp.h')
-rw-r--r--picohttp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/picohttp.h b/picohttp.h
index 7c7997d..e3aa8a3 100644
--- a/picohttp.h
+++ b/picohttp.h
@@ -154,8 +154,14 @@ struct picohttpMultipart {
} disposition;
int in_boundary;
int replay;
+ int replayhead;
};
+typedef void (*picohttpHeaderFieldCallback)(
+ struct picohttpRequest *req,
+ char const *headername,
+ char const *headervalue);
+
void picohttpProcessRequest(
struct picohttpIoOps const * const ioops,
struct picohttpURLRoute const * const routes );