All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
mg_callbacks Struct Reference

Public Attributes

int(* begin_request )(struct mg_connection *)
 
void(* connection_close )(const struct mg_connection *)
 
void(* end_request )(const struct mg_connection *, int reply_status_code)
 
void(* exit_context )(const struct mg_context *ctx)
 
int(* http_error )(struct mg_connection *, int status)
 
void(* init_context )(const struct mg_context *ctx)
 
void(* init_lua )(const struct mg_connection *, void *lua_context)
 
int(* init_ssl )(void *ssl_context, void *user_data)
 
void(* init_thread )(const struct mg_context *ctx, int thread_type)
 
int(* log_access )(const struct mg_connection *, const char *message)
 
int(* log_message )(const struct mg_connection *, const char *message)
 
const char *(* open_file )(const struct mg_connection *, const char *path, size_t *data_len)