blob: a71018af131b828133c923cab9b9295eef5567b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef MAGI_INCLUDED_PARSE
#define MAGI_INCLUDED_PARSE
/* Common Gateway Interface request parsing implementation
*/
#include "request.h"
/* Analyses non-post part of request from environment. True if ok. */
int magi_parse_head(magi_request *request);
/* Complete request with post body from standard input. True if ok. */
int magi_parse_body(magi_request *request);
/* Shortcut for analysing both head and body of request. True if ok. */
int magi_parse(magi_request *request);
#endif
|