1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-07-31 08:24:23 +03:00

Alternative to mg_upload (Step 47/?)

This commit is contained in:
bel
2016-02-12 02:05:33 +01:00
parent 30b7abbd20
commit 76e5ead243
2 changed files with 41 additions and 31 deletions

View File

@ -156,7 +156,8 @@ FileHandler(struct mg_connection *conn, void *cbdata)
/**********************/
/* proposed interface */
/* proposed interface - will be moved to the header once it is ready for release
*/
enum {
FORM_FIELD_STORAGE_SKIP = 0x0,
@ -181,8 +182,8 @@ struct mg_form_data_handler {
void *user_data;
};
int mg_handle_form_data(struct mg_connection *conn,
struct mg_form_data_handler *fdh);
extern int mg_handle_form_data(struct mg_connection *conn,
struct mg_form_data_handler *fdh);
/* end of interface */
/********************/