mongoose/docs/c-api/net.h/mg_event_handler_t.md
Deomid Ryabkov 6a3d01ee6b Depend on v7.c properly
PUBLISHED_FROM=cf49d0d345e4a7607c535f9578b8ed4160f2fccd
2016-07-22 14:31:13 +00:00

12 lines
323 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 events defined below.