diff options
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r-- | toxcore/tox.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c index 83b19e9b..1507b2c5 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -374,6 +374,11 @@ void tox_bootstrap(void *tox, IP_Port ip_port, uint8_t *public_key) | |||
374 | Messenger *m = tox; | 374 | Messenger *m = tox; |
375 | DHT_bootstrap(m->dht, ip_port, public_key); | 375 | DHT_bootstrap(m->dht, ip_port, public_key); |
376 | } | 376 | } |
377 | void tox_bootstrap_ex(void *tox, const char *address, uint16_t port, uint8_t *public_key) | ||
378 | { | ||
379 | Messenger *m = tox; | ||
380 | DHT_bootstrap_ex(m->dht, address, port, public_key); | ||
381 | }; | ||
377 | 382 | ||
378 | /* return 0 if we are not connected to the DHT. | 383 | /* return 0 if we are not connected to the DHT. |
379 | * return 1 if we are. | 384 | * return 1 if we are. |