mongoose/docs/c-api/net.h/mg_event_handler_t.md
Dmitry Frank 849ec1684a Apply Mongoose docs edits by Ev
PUBLISHED_FROM=5cd78790a03580aa23dd3d2d8b825ad449083cc2
2016-07-26 15:06:04 +00:00

12 lines
327 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 *, int ev, void *);
---
Callback function (event handler) prototype. Must be defined by the user.
Mongoose calls the event handler, passing the events defined below.