diff options
Diffstat (limited to 'query.h')
-rw-r--r-- | query.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,10 +1,15 @@ #define TRUNCATED(s) s[-1] struct query{ - int post; + int method; char *string; } query; -char *nextparam(int); +enum method{ + GET, + POST +}; + +char *nextparam(enum method, int); void setquery(void); char *split(char *);
\ No newline at end of file |