mongoose/docs/c-api/net.h/mg_event_handler_t.md
Dmitry Frank 0fc3370859 First step towards separate userdata argument
PUBLISHED_FROM=93fe1cc2c5e2513509511a81e5919cbd37056b10
2017-03-15 00:52:59 +00:00

400 B

title decl_name symbol_kind signature
mg_event_handler_t mg_event_handler_t typedef typedef void (*mg_event_handler_t)(struct mg_connection *nc, int ev, void *ev_data MG_UD_ARG(void *user_data));

Callback function (event handler) prototype. Must be defined by the user. Mongoose calls the event handler, passing the events defined below.