summaryrefslogtreecommitdiff
path: root/core/ping.h
blob: 1d23df97f346673a54d803bbde70347dd5f536eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * ping.h -- Buffered pinging using cyclic arrays.
 *
 * This file is donated to the Tox Project.
 * Copyright 2013  plutooo
 */

#include <stdbool.h>

void init_ping();
uint64_t add_ping(IP_Port ipp);
bool is_pinging(IP_Port ipp, uint64_t ping_id);