diff options
Diffstat (limited to 'core/Messenger.h')
-rw-r--r-- | core/Messenger.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/Messenger.h b/core/Messenger.h index a7f114cf..2484692c 100644 --- a/core/Messenger.h +++ b/core/Messenger.h | |||
@@ -31,6 +31,10 @@ | |||
31 | #include "DHT.h" | 31 | #include "DHT.h" |
32 | #include "friend_requests.h" | 32 | #include "friend_requests.h" |
33 | 33 | ||
34 | #ifdef __cplusplus | ||
35 | extern "C" { | ||
36 | #endif | ||
37 | |||
34 | #define MAX_NAME_LENGTH 128 | 38 | #define MAX_NAME_LENGTH 128 |
35 | #define MAX_USERSTATUS_LENGTH 128 | 39 | #define MAX_USERSTATUS_LENGTH 128 |
36 | 40 | ||
@@ -147,4 +151,8 @@ void Messenger_save(uint8_t * data); | |||
147 | /* load the messenger from data of size length */ | 151 | /* load the messenger from data of size length */ |
148 | int Messenger_load(uint8_t * data, uint32_t length); | 152 | int Messenger_load(uint8_t * data, uint32_t length); |
149 | 153 | ||
154 | #ifdef __cplusplus | ||
155 | } | ||
156 | #endif | ||
157 | |||
150 | #endif | 158 | #endif |