summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r--toxcore/tox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index 811e798b..77f0be7f 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -291,8 +291,10 @@ void tox_callback_connectionstatus(Tox *tox, void (*function)(Tox *tox, int, uin
291 291
292/* Use this function to bootstrap the client. 292/* Use this function to bootstrap the client.
293 * Sends a get nodes request to the given node with ip port and public_key. 293 * Sends a get nodes request to the given node with ip port and public_key.
294 * tox_bootstrap_ex converts the address into an IP_Port structure internally
294 */ 295 */
295void tox_bootstrap(Tox *tox, tox_IP_Port ip_port, uint8_t *public_key); 296void tox_bootstrap(Tox *tox, tox_IP_Port ip_port, uint8_t *public_key);
297void tox_bootstrap_ex(Tox *tox, const char *address, uint16_t port, uint8_t *public_key);
296 298
297/* return 0 if we are not connected to the DHT. 299/* return 0 if we are not connected to the DHT.
298 * return 1 if we are. 300 * return 1 if we are.