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
5d0a5cfe
Commit
5d0a5cfe
authored
8 years ago
by
Deomid Ryabkov
Committed by
rojer
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add CPP guards to net_if.h
cesanta/mongoose#653 PUBLISHED_FROM=a676dbce6d04b78ca316a4601e9cbb676ecc88d2
parent
d4b81bb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
mongoose.h
mongoose.h
+8
-0
No files found.
mongoose.h
View file @
5d0a5cfe
...
...
@@ -1669,6 +1669,10 @@ double mg_time();
* Implementation must ensure that only one callback is invoked at any time.
*/
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
/* Request that a TCP connection is made to the specified address. */
void
mg_if_connect_tcp
(
struct
mg_connection
*
nc
,
const
union
socket_address
*
sa
);
...
...
@@ -1730,6 +1734,10 @@ void mg_if_get_conn_addr(struct mg_connection *nc, int remote,
/* Associate a socket to a connection. */
void
mg_sock_set
(
struct
mg_connection
*
nc
,
sock_t
sock
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
#endif
/* CS_MONGOOSE_SRC_NET_IF_H_ */
/*
* Copyright (c) 2014 Cesanta Software Limited
...
...
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