aboutsummaryrefslogtreecommitdiff
path: root/picohttp.h
diff options
context:
space:
mode:
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 );