aboutsummaryrefslogtreecommitdiff
path: root/query.h
diff options
context:
space:
mode:
Diffstat (limited to 'query.h')
-rw-r--r--query.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/query.h b/query.h
index a5cb168..6a4c1cc 100644
--- a/query.h
+++ b/query.h
@@ -2,6 +2,7 @@
struct query{
int method;
+ int length; /* Content length. */
char *string;
} query;
@@ -10,6 +11,6 @@ enum method{
POST
};
-char *nextparam(enum method, int);
+char *nextparam(enum method, int *, int);
void setquery(void);
char *split(char *); \ No newline at end of file