diff options
Diffstat (limited to 'toxcore/ping.h')
-rw-r--r-- | toxcore/ping.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/toxcore/ping.h b/toxcore/ping.h index 61875a0b..63ecb017 100644 --- a/toxcore/ping.h +++ b/toxcore/ping.h | |||
@@ -41,12 +41,17 @@ typedef struct IP_Port IP_Port; | |||
41 | typedef struct DHT DHT; | 41 | typedef struct DHT DHT; |
42 | #endif /* DHT_DEFINED */ | 42 | #endif /* DHT_DEFINED */ |
43 | 43 | ||
44 | #ifndef MONO_TIME_DEFINED | ||
45 | #define MONO_TIME_DEFINED | ||
46 | typedef struct Mono_Time Mono_Time; | ||
47 | #endif /* MONO_TIME_DEFINED */ | ||
48 | |||
44 | #ifndef PING_DEFINED | 49 | #ifndef PING_DEFINED |
45 | #define PING_DEFINED | 50 | #define PING_DEFINED |
46 | typedef struct Ping Ping; | 51 | typedef struct Ping Ping; |
47 | #endif /* PING_DEFINED */ | 52 | #endif /* PING_DEFINED */ |
48 | 53 | ||
49 | Ping *ping_new(DHT *dht); | 54 | Ping *ping_new(const struct Mono_Time *mono_time, DHT *dht); |
50 | 55 | ||
51 | void ping_kill(Ping *ping); | 56 | void ping_kill(Ping *ping); |
52 | 57 | ||