mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-17 19:30:36 +00:00
Add names to mg_event_handler_t's args
PUBLISHED_FROM=3caea25dec11260561349fa096547bd62ecdb509
This commit is contained in:
1 parent
39a17f8a72
commit
0798b72470
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -2749,7 +2749,7 @@ struct mg_connection;
|
||||
* Callback function (event handler) prototype. Must be defined by the user.
|
||||
* Mongoose calls the event handler, passing the events defined below.
|
||||
*/
|
||||
typedef void (*mg_event_handler_t)(struct mg_connection *, int ev, void *);
|
||||
typedef void (*mg_event_handler_t)(struct mg_connection *nc, int ev, void *ev_data);
|
||||
|
||||
/* Events. Meaning of event parameter (evp) is given in the comment. */
|
||||
#define MG_EV_POLL 0 /* Sent to each connection on each mg_mgr_poll() call */
|
||||
|
||||
Reference in new issue
Block a user