diff options
Diffstat (limited to 'core/friend_requests.h')
-rw-r--r-- | core/friend_requests.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/friend_requests.h b/core/friend_requests.h index a3de46c8..de116b33 100644 --- a/core/friend_requests.h +++ b/core/friend_requests.h | |||
@@ -12,6 +12,9 @@ | |||
12 | #include "DHT.h" | 12 | #include "DHT.h" |
13 | #include "net_crypto.h" | 13 | #include "net_crypto.h" |
14 | 14 | ||
15 | #ifdef __cplusplus | ||
16 | extern "C" { | ||
17 | #endif | ||
15 | 18 | ||
16 | /* Try to send a friendrequest to peer with public_key | 19 | /* Try to send a friendrequest to peer with public_key |
17 | data is the data in the request and length is the length. */ | 20 | data is the data in the request and length is the length. */ |
@@ -29,6 +32,8 @@ int friendreq_handlepacket(uint8_t * packet, uint32_t length, IP_Port source); | |||
29 | 32 | ||
30 | 33 | ||
31 | 34 | ||
32 | 35 | #ifdef __cplusplus | |
36 | } | ||
37 | #endif | ||
33 | 38 | ||
34 | #endif \ No newline at end of file | 39 | #endif \ No newline at end of file |