diff options
Diffstat (limited to 'toxcore/DHT.h')
-rw-r--r-- | toxcore/DHT.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toxcore/DHT.h b/toxcore/DHT.h index c08b498c..c0731a3a 100644 --- a/toxcore/DHT.h +++ b/toxcore/DHT.h | |||
@@ -337,6 +337,10 @@ int route_packet(DHT *dht, uint8_t *client_id, uint8_t *packet, uint32_t length) | |||
337 | */ | 337 | */ |
338 | int route_tofriend(DHT *dht, uint8_t *friend_id, uint8_t *packet, uint32_t length); | 338 | int route_tofriend(DHT *dht, uint8_t *friend_id, uint8_t *packet, uint32_t length); |
339 | 339 | ||
340 | /* Function to handle crypto packets. | ||
341 | */ | ||
342 | void cryptopacket_registerhandler(DHT *dht, uint8_t byte, cryptopacket_handler_callback cb, void *object); | ||
343 | |||
340 | /* NAT PUNCHING FUNCTIONS */ | 344 | /* NAT PUNCHING FUNCTIONS */ |
341 | 345 | ||
342 | /* Puts all the different ips returned by the nodes for a friend_id into array ip_portlist. | 346 | /* Puts all the different ips returned by the nodes for a friend_id into array ip_portlist. |