Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
mongoose
Commits
f00b3a2b
Commit
f00b3a2b
authored
Jan 30, 2020
by
Deomid "rojer" Ryabkov
Committed by
Cesanta Bot
Jan 31, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move ssl_if_data to the end of mg_connection
PUBLISHED_FROM=4fb65477b03bedc3206ac286e8236f0f9536f20e
parent
c2b5e4f3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
9 deletions
+12
-9
struct_mg_connection.md
docs/c-api/mg_net.h/struct_mg_connection.md
+4
-3
mongoose.h
mongoose.h
+4
-3
mg_net.h
src/mg_net.h
+4
-3
No files found.
docs/c-api/mg_net.h/struct_mg_connection.md
View file @
f00b3a2b
...
...
@@ -16,9 +16,6 @@ signature: |
struct mbuf send_mbuf; /* Data scheduled for sending */
time_t last_io_time; /* Timestamp of the last socket IO */
double ev_timer_time; /* Timestamp of the future MG_EV_TIMER */
#if MG_ENABLE_SSL
void *ssl_if_data; /* SSL library data. */
#endif
mg_event_handler_t proto_handler; /* Protocol-specific event handler */
void *proto_data; /* Protocol-specific data */
void (*proto_data_destructor)(void *proto_data);
...
...
@@ -61,6 +58,10 @@ signature: |
#define MG_F_USER_4 (1 << 23)
#define MG_F_USER_5 (1 << 24)
#define MG_F_USER_6 (1 << 25)
#if MG_ENABLE_SSL
void *ssl_if_data; /* SSL library data. */
#endif
};
---
...
...
mongoose.h
View file @
f00b3a2b
...
...
@@ -3590,9 +3590,6 @@ struct mg_connection {
struct
mbuf
send_mbuf
;
/* Data scheduled for sending */
time_t
last_io_time
;
/* Timestamp of the last socket IO */
double
ev_timer_time
;
/* Timestamp of the future MG_EV_TIMER */
#if MG_ENABLE_SSL
void
*
ssl_if_data
;
/* SSL library data. */
#endif
mg_event_handler_t
proto_handler
;
/* Protocol-specific event handler */
void
*
proto_data
;
/* Protocol-specific data */
void
(
*
proto_data_destructor
)(
void
*
proto_data
);
...
...
@@ -3635,6 +3632,10 @@ struct mg_connection {
#define MG_F_USER_4 (1 << 23)
#define MG_F_USER_5 (1 << 24)
#define MG_F_USER_6 (1 << 25)
#if MG_ENABLE_SSL
void
*
ssl_if_data
;
/* SSL library data. */
#endif
};
/*
...
...
src/mg_net.h
View file @
f00b3a2b
...
...
@@ -110,9 +110,6 @@ struct mg_connection {
struct
mbuf
send_mbuf
;
/* Data scheduled for sending */
time_t
last_io_time
;
/* Timestamp of the last socket IO */
double
ev_timer_time
;
/* Timestamp of the future MG_EV_TIMER */
#if MG_ENABLE_SSL
void
*
ssl_if_data
;
/* SSL library data. */
#endif
mg_event_handler_t
proto_handler
;
/* Protocol-specific event handler */
void
*
proto_data
;
/* Protocol-specific data */
void
(
*
proto_data_destructor
)(
void
*
proto_data
);
...
...
@@ -155,6 +152,10 @@ struct mg_connection {
#define MG_F_USER_4 (1 << 23)
#define MG_F_USER_5 (1 << 24)
#define MG_F_USER_6 (1 << 25)
#if MG_ENABLE_SSL
void
*
ssl_if_data
;
/* SSL library data. */
#endif
};
/*
...
...
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