diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-05 18:48:34 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-05 18:48:34 -0400 |
commit | c9a597b794291492a6ac5251119615951b5b2f5d (patch) | |
tree | 59dc0e1a9472cc535d48a281f2bbbba6f395ac55 /core/ping.h | |
parent | 8618662e29a49c9412e296a1d7c6749e944431e5 (diff) | |
parent | 071ac463082646189ade6e31bb3f6051516f81b2 (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.h | 13 |
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 | |||
10 | void init_ping(); | ||
11 | uint64_t add_ping(IP_Port ipp); | ||
12 | bool is_pinging(IP_Port ipp, uint64_t ping_id); | ||
13 | |||