diff options
author | Coren[m] <Break@Ocean> | 2013-11-14 19:05:36 +0100 |
---|---|---|
committer | Coren[m] <Break@Ocean> | 2013-11-14 19:05:53 +0100 |
commit | 0d8329b3a9b16cd6089810e61ce958fde00046b8 (patch) | |
tree | a86bc471393905c16e8a0d0151a7494784136d63 /toxcore/ping.h | |
parent | 3af83a6aecdbc719ef38986cba2f238eab3ba3ec (diff) |
Significantly trimmed down version of an ID<=>IP cache.
Besides acknowledging timeouts, the module isn't trying to do anything fancy with the data besides storing and retrieving.
Diffstat (limited to 'toxcore/ping.h')
-rw-r--r-- | toxcore/ping.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/toxcore/ping.h b/toxcore/ping.h index 32742401..361fd3ef 100644 --- a/toxcore/ping.h +++ b/toxcore/ping.h | |||
@@ -24,11 +24,7 @@ | |||
24 | #ifndef __PING_H__ | 24 | #ifndef __PING_H__ |
25 | #define __PING_H__ | 25 | #define __PING_H__ |
26 | 26 | ||
27 | #include <stdbool.h> | ||
28 | |||
29 | #ifndef __PING_C__ | ||
30 | typedef struct PING PING; | 27 | typedef struct PING PING; |
31 | #endif | ||
32 | 28 | ||
33 | /* Add nodes to the toping list. | 29 | /* Add nodes to the toping list. |
34 | * All nodes in this list are pinged every TIME_TOPING seconds | 30 | * All nodes in this list are pinged every TIME_TOPING seconds |