diff options
Diffstat (limited to 'core/network.h')
-rw-r--r-- | core/network.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/network.h b/core/network.h index daab6e41..460bedbd 100644 --- a/core/network.h +++ b/core/network.h | |||
@@ -65,6 +65,9 @@ | |||
65 | 65 | ||
66 | #endif | 66 | #endif |
67 | 67 | ||
68 | #ifdef __cplusplus | ||
69 | extern "C" { | ||
70 | #endif | ||
68 | 71 | ||
69 | #define MAX_UDP_PACKET_SIZE 65507 | 72 | #define MAX_UDP_PACKET_SIZE 65507 |
70 | 73 | ||
@@ -130,4 +133,9 @@ void shutdown_networking(); | |||
130 | on success returns a data in network byte order that can be used to set IP.i or IP_Port.ip.i | 133 | on success returns a data in network byte order that can be used to set IP.i or IP_Port.ip.i |
131 | on failure returns -1 */ | 134 | on failure returns -1 */ |
132 | int resolve_addr(char *address); | 135 | int resolve_addr(char *address); |
136 | |||
137 | #ifdef __cplusplus | ||
138 | } | ||
139 | #endif | ||
140 | |||
133 | #endif | 141 | #endif |