diff options
Diffstat (limited to 'toxcore/DHT.h')
-rw-r--r-- | toxcore/DHT.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/toxcore/DHT.h b/toxcore/DHT.h index 547f3887..47a828d7 100644 --- a/toxcore/DHT.h +++ b/toxcore/DHT.h | |||
@@ -375,16 +375,6 @@ int route_tofriend(const DHT *dht, const uint8_t *friend_id, const uint8_t *pack | |||
375 | */ | 375 | */ |
376 | void cryptopacket_registerhandler(DHT *dht, uint8_t byte, cryptopacket_handler_callback cb, void *object); | 376 | void cryptopacket_registerhandler(DHT *dht, uint8_t byte, cryptopacket_handler_callback cb, void *object); |
377 | 377 | ||
378 | /* NAT PUNCHING FUNCTIONS */ | ||
379 | |||
380 | /* Puts all the different ips returned by the nodes for a friend_id into array ip_portlist. | ||
381 | * ip_portlist must be at least MAX_FRIEND_CLIENTS big. | ||
382 | * | ||
383 | * returns number of ips returned. | ||
384 | * returns -1 if no such friend. | ||
385 | */ | ||
386 | int friend_ips(const DHT *dht, IP_Port *ip_portlist, const uint8_t *friend_id); | ||
387 | |||
388 | /* SAVE/LOAD functions */ | 378 | /* SAVE/LOAD functions */ |
389 | 379 | ||
390 | /* Get the size of the DHT (for saving). */ | 380 | /* Get the size of the DHT (for saving). */ |