summaryrefslogtreecommitdiff
path: root/core/ping.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-05 18:48:34 -0400
committerirungentoo <irungentoo@gmail.com>2013-08-05 18:48:34 -0400
commitc9a597b794291492a6ac5251119615951b5b2f5d (patch)
tree59dc0e1a9472cc535d48a281f2bbbba6f395ac55 /core/ping.h
parent8618662e29a49c9412e296a1d7c6749e944431e5 (diff)
parent071ac463082646189ade6e31bb3f6051516f81b2 (diff)
Merge branch 'master' of https://github.com/plutooo/ProjectTox-Core into 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