diff options
Diffstat (limited to 'core/ping.h')
-rw-r--r-- | core/ping.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/core/ping.h b/core/ping.h index 6d5a0ea6..1f30392c 100644 --- a/core/ping.h +++ b/core/ping.h | |||
@@ -7,10 +7,11 @@ | |||
7 | 7 | ||
8 | #include <stdbool.h> | 8 | #include <stdbool.h> |
9 | 9 | ||
10 | void init_ping(); | 10 | void * new_ping(void); |
11 | uint64_t add_ping(IP_Port ipp); | 11 | void kill_ping(void * ping); |
12 | bool is_pinging(IP_Port ipp, uint64_t ping_id); | 12 | uint64_t add_ping(void * ping, IP_Port ipp); |
13 | int send_ping_request(IP_Port ipp, clientid_t *client_id); | 13 | bool is_pinging(void * ping, IP_Port ipp, uint64_t ping_id); |
14 | int send_ping_response(IP_Port ipp, clientid_t *client_id, 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); | ||
15 | int handle_ping_request(void * object, IP_Port source, uint8_t *packet, uint32_t length); | 16 | int handle_ping_request(void * object, IP_Port source, uint8_t *packet, uint32_t length); |
16 | int handle_ping_response(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); |