summaryrefslogtreecommitdiff
path: root/core/ping.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-05 20:36:20 -0400
committerirungentoo <irungentoo@gmail.com>2013-08-05 20:36:20 -0400
commit1daf06462150a793c171b6d6417152f82cfed128 (patch)
tree2efc043df4a8cb37d973bc355c39c47f6acbf64c /core/ping.h
parent5d1657432ad5b26a62b1082e8c5194b55cd01851 (diff)
parent524cf1895413026f528d9c59d16755a066c56f1c (diff)
Merge branch 'plutooo-master'
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