Support Forum       G3D Web Page     
Public Attributes | List of all members
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(* external_ssl_ctx )(void **ssl_ctx, void *user_data)
 
int(* http_error )(struct mg_connection *conn, int status, const char *errmsg)
 
int(* init_connection )(const struct mg_connection *conn, void **conn_data)
 
void(* init_context )(const struct mg_context *ctx)
 
void(* init_lua )(const struct mg_connection *conn, 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)
 

Member Data Documentation

◆ begin_request

int(* mg_callbacks::begin_request) (struct mg_connection *)

◆ connection_close

void(* mg_callbacks::connection_close) (const struct mg_connection *)

◆ end_request

void(* mg_callbacks::end_request) (const struct mg_connection *, int reply_status_code)

◆ exit_context

void(* mg_callbacks::exit_context) (const struct mg_context *ctx)

◆ external_ssl_ctx

int(* mg_callbacks::external_ssl_ctx) (void **ssl_ctx, void *user_data)

◆ http_error

int(* mg_callbacks::http_error) (struct mg_connection *conn, int status, const char *errmsg)

◆ init_connection

int(* mg_callbacks::init_connection) (const struct mg_connection *conn, void **conn_data)

◆ init_context

void(* mg_callbacks::init_context) (const struct mg_context *ctx)

◆ init_lua

void(* mg_callbacks::init_lua) (const struct mg_connection *conn, void *lua_context)

◆ init_ssl

int(* mg_callbacks::init_ssl) (void *ssl_context, void *user_data)

◆ init_thread

void(* mg_callbacks::init_thread) (const struct mg_context *ctx, int thread_type)

◆ log_access

int(* mg_callbacks::log_access) (const struct mg_connection *, const char *message)

◆ log_message

int(* mg_callbacks::log_message) (const struct mg_connection *, const char *message)

documentation generated on Wed Nov 24 2021 08:01:52 using doxygen 1.8.15