From b8ad6c3cc2edef99dc2a416667c3933c1061994c Mon Sep 17 00:00:00 2001 From: aunsane Date: Mon, 8 Oct 2018 20:45:34 +0300 Subject: Tox: toxcore updated to v0.2.8 --- protocols/Tox/libtox/src/toxcore/ping.api.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'protocols/Tox/libtox/src/toxcore/ping.api.h') diff --git a/protocols/Tox/libtox/src/toxcore/ping.api.h b/protocols/Tox/libtox/src/toxcore/ping.api.h index edc04723a0..2ae5b3650b 100644 --- a/protocols/Tox/libtox/src/toxcore/ping.api.h +++ b/protocols/Tox/libtox/src/toxcore/ping.api.h @@ -4,7 +4,7 @@ */ /* - * Copyright © 2016-2017 The TokTok team. + * Copyright © 2016-2018 The TokTok team. * Copyright © 2013 Tox project. * Copyright © 2013 plutooo * @@ -24,8 +24,8 @@ * You should have received a copy of the GNU General Public License * along with Tox. If not, see . */ -#ifndef PING_H -#define PING_H +#ifndef C_TOXCORE_TOXCORE_PING_H +#define C_TOXCORE_TOXCORE_PING_H #include "DHT.h" #include "network.h" @@ -35,12 +35,13 @@ class iP_Port { struct this; } class dHT { struct this; } +class mono_Time { struct this; } class ping { struct this; -static this new(dHT::this *dht); +static this new(const mono_Time::this *mono_time, dHT::this *dht); void kill(); /** Add nodes to the to_ping list. @@ -61,5 +62,5 @@ int32_t send_request(iP_Port::this ipp, const uint8_t *public_key); } %{ -#endif /* PING_H */ +#endif // C_TOXCORE_TOXCORE_PING_H %} -- cgit v1.2.3