mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-11 17:04:33 +07:00
13 lines
400 B
Markdown
13 lines
400 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 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.
|
|
|