Files
mongoose/docs/c-api/net.h/mg_event_handler_t.md
T
Dmitry Frank 0798b72470 Add names to mg_event_handler_t's args
PUBLISHED_FROM=3caea25dec11260561349fa096547bd62ecdb509
2016-11-01 23:25:18 +00:00

12 lines
336 B
Markdown

---
title: "mg_event_handler_t"
decl_name: "mg_event_handler_t"
symbol_kind: "typedef"
signature: |
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.