Logo ROOT   6.18/05
Reference Guide
Functions
handle_form.inl File Reference
This graph shows which files directly or indirectly include this file:

Functions

static int field_stored (const struct mg_connection *conn, const char *path, long long file_size, struct mg_form_data_handler *fdh)
 
int mg_handle_form_request (struct mg_connection *conn, struct mg_form_data_handler *fdh)
 
static const char * search_boundary (const char *buf, size_t buf_len, const char *boundary, size_t boundary_len)
 
static int unencoded_field_get (const struct mg_connection *conn, const char *key, size_t key_len, const char *value, size_t value_len, struct mg_form_data_handler *fdh)
 
static int url_encoded_field_found (const struct mg_connection *conn, const char *key, size_t key_len, const char *filename, size_t filename_len, char *path, size_t path_len, struct mg_form_data_handler *fdh)
 
static int url_encoded_field_get (const struct mg_connection *conn, const char *key, size_t key_len, const char *value, size_t value_len, struct mg_form_data_handler *fdh)
 

Function Documentation

◆ field_stored()

static int field_stored ( const struct mg_connection *  conn,
const char *  path,
long long  file_size,
struct mg_form_data_handler fdh 
)
static

Definition at line 143 of file handle_form.inl.

◆ mg_handle_form_request()

int mg_handle_form_request ( struct mg_connection *  conn,
struct mg_form_data_handler fdh 
)

Definition at line 179 of file handle_form.inl.

◆ search_boundary()

static const char * search_boundary ( const char *  buf,
size_t  buf_len,
const char *  boundary,
size_t  boundary_len 
)
static

Definition at line 157 of file handle_form.inl.

◆ unencoded_field_get()

static int unencoded_field_get ( const struct mg_connection *  conn,
const char *  key,
size_t  key_len,
const char *  value,
size_t  value_len,
struct mg_form_data_handler fdh 
)
static

Definition at line 126 of file handle_form.inl.

◆ url_encoded_field_found()

static int url_encoded_field_found ( const struct mg_connection *  conn,
const char *  key,
size_t  key_len,
const char *  filename,
size_t  filename_len,
char *  path,
size_t  path_len,
struct mg_form_data_handler fdh 
)
static

Definition at line 24 of file handle_form.inl.

◆ url_encoded_field_get()

static int url_encoded_field_get ( const struct mg_connection *  conn,
const char *  key,
size_t  key_len,
const char *  value,
size_t  value_len,
struct mg_form_data_handler fdh 
)
static

Definition at line 88 of file handle_form.inl.