blob: dccb20e2c7fffffefc37a2d4d500c38b4f755a60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef MAGI_INCLUDED_CGI
#define MAGI_INCLUDED_CGI
#include "field.h"
#include "request.h"
/*
* Constructs request using environment variables and standart I/O;
* Returns null if succeed, otherwise error code.
*/
int magi_cgi(struct magi_request * request,
/* Callback will be used only for fields loaded via multipart. */
/* Null callback disables callback system. */
void (*callback)(struct magi_field * field, char * buffer, int len),
int max_post);
#endif
|