summaryrefslogtreecommitdiff
path: root/core/DHT.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/DHT.h')
-rw-r--r--core/DHT.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/DHT.h b/core/DHT.h
index f561d559..fdb89de6 100644
--- a/core/DHT.h
+++ b/core/DHT.h
@@ -28,6 +28,10 @@
28 28
29#include "net_crypto.h" 29#include "net_crypto.h"
30 30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
31/* Current time, unix format */ 35/* Current time, unix format */
32#define unix_time() ((uint32_t)time(NULL)) 36#define unix_time() ((uint32_t)time(NULL))
33 37
@@ -112,4 +116,8 @@ int DHT_load(uint8_t * data, uint32_t size);
112 returns 1 if we are */ 116 returns 1 if we are */
113int DHT_isconnected(); 117int DHT_isconnected();
114 118
119#ifdef __cplusplus
120}
121#endif
122
115#endif 123#endif