diff options
Diffstat (limited to 'core/Lossless_UDP.h')
-rw-r--r-- | core/Lossless_UDP.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/Lossless_UDP.h b/core/Lossless_UDP.h index 8a71bd68..0f5bb119 100644 --- a/core/Lossless_UDP.h +++ b/core/Lossless_UDP.h | |||
@@ -27,6 +27,9 @@ | |||
27 | 27 | ||
28 | #include "network.h" | 28 | #include "network.h" |
29 | 29 | ||
30 | #ifdef __cplusplus | ||
31 | extern "C" { | ||
32 | #endif | ||
30 | 33 | ||
31 | /* maximum length of the data in the data packets */ | 34 | /* maximum length of the data in the data packets */ |
32 | #define MAX_DATA_SIZE 1024 | 35 | #define MAX_DATA_SIZE 1024 |
@@ -106,4 +109,8 @@ void doLossless_UDP(); | |||
106 | return 1 if it didn't handle the packet or if the packet was shit. */ | 109 | return 1 if it didn't handle the packet or if the packet was shit. */ |
107 | int LosslessUDP_handlepacket(uint8_t * packet, uint32_t length, IP_Port source); | 110 | int LosslessUDP_handlepacket(uint8_t * packet, uint32_t length, IP_Port source); |
108 | 111 | ||
112 | #ifdef __cplusplus | ||
113 | } | ||
114 | #endif | ||
115 | |||
109 | #endif | 116 | #endif |