Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
0798b724
Commit
0798b724
authored
8 years ago
by
Dmitry Frank
Committed by
Cesanta Bot
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add names to mg_event_handler_t's args
PUBLISHED_FROM=3caea25dec11260561349fa096547bd62ecdb509
parent
39a17f8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mg_event_handler_t.md
docs/c-api/net.h/mg_event_handler_t.md
+1
-1
mongoose.h
mongoose.h
+1
-1
No files found.
docs/c-api/net.h/mg_event_handler_t.md
View file @
0798b724
...
...
@@ -3,7 +3,7 @@ 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 *
);
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.
...
...
This diff is collapsed.
Click to expand it.
mongoose.h
View file @
0798b724
...
...
@@ -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 */
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment