diff options
Diffstat (limited to 'toxcore/DHT.h')
-rw-r--r-- | toxcore/DHT.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toxcore/DHT.h b/toxcore/DHT.h index 459dd7a5..5339d3e6 100644 --- a/toxcore/DHT.h +++ b/toxcore/DHT.h | |||
@@ -258,6 +258,9 @@ void DHT_getnodes(DHT *dht, const IP_Port *from_ipp, const uint8_t *from_id, con | |||
258 | * ip_callback is the callback of a function that will be called when the ip address | 258 | * ip_callback is the callback of a function that will be called when the ip address |
259 | * is found along with arguments data and number. | 259 | * is found along with arguments data and number. |
260 | * | 260 | * |
261 | * lock_count will be set to a non zero number that must be passed to DHT_delfriend() | ||
262 | * to properly remove the callback. | ||
263 | * | ||
261 | * return 0 if success. | 264 | * return 0 if success. |
262 | * return -1 if failure (friends list is full). | 265 | * return -1 if failure (friends list is full). |
263 | */ | 266 | */ |