summaryrefslogtreecommitdiff
path: root/core/ping.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/ping.h')
-rw-r--r--core/ping.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/ping.h b/core/ping.h
new file mode 100644
index 00000000..1d23df97
--- /dev/null
+++ b/core/ping.h
@@ -0,0 +1,13 @@
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
10void init_ping();
11uint64_t add_ping(IP_Port ipp);
12bool is_pinging(IP_Port ipp, uint64_t ping_id);
13