diff options
Diffstat (limited to 'core/ping.h')
-rw-r--r-- | core/ping.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/core/ping.h b/core/ping.h deleted file mode 100644 index c04ec80e..00000000 --- a/core/ping.h +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | /* | ||
2 | * ping.h -- Buffered pinging using cyclic arrays. | ||
3 | * | ||
4 | * This file is donated to the Tox Project. | ||
5 | * Copyright 2013 plutooo | ||
6 | */ | ||
7 | |||
8 | #include <stdbool.h> | ||
9 | |||
10 | void *new_ping(void); | ||
11 | void kill_ping(void *ping); | ||
12 | uint64_t add_ping(void *ping, IP_Port ipp); | ||
13 | bool is_pinging(void *ping, IP_Port ipp, uint64_t ping_id); | ||
14 | int send_ping_request(void *ping, Net_Crypto *c, IP_Port ipp, clientid_t *client_id); | ||
15 | int send_ping_response(Net_Crypto *c, IP_Port ipp, clientid_t *client_id, uint64_t ping_id); | ||
16 | int handle_ping_request(void *object, IP_Port source, uint8_t *packet, uint32_t length); | ||
17 | int handle_ping_response(void *object, IP_Port source, uint8_t *packet, uint32_t length); | ||