mongoose/docs/c-api/net.h/mg_event_handler_t.md
Marko Mikulicic fffb54e2c6 Implementing MG interfaces
PUBLISHED_FROM=46496c2d5340a0bbe4fe1c6c9ff187bc65d2d35f
2016-11-08 22:36:13 +00:00

373 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);

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