summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
diff options
context:
space:
mode:
authorCoren[m] <Break@Ocean>2013-09-10 22:59:33 +0200
committerCoren[m] <Break@Ocean>2013-09-10 22:59:33 +0200
commit64ca4b5db23dbb68d1b01e307837c9fb89283256 (patch)
treeb8544dbb4146415dc48caa37946e6651c37ce519 /toxcore/tox.h
parente89dda5cea04f217d7981d567de963cc8f2e76c7 (diff)
tox.*, DHT.*:
- return to the caller if the string could be resolved into an IP other/DHT_bootstrap.c, testing/*_test.c, testing/nTox.c: - parse cmdline for --ipv4/--ipv6 switch to allow user a choice util.h: - proper old-style C-comment
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r--toxcore/tox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index 15bef94c..cf5d6b2a 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -340,10 +340,10 @@ void tox_callback_connectionstatus(Tox *tox, void (*function)(Tox *tox, int, uin
340 340
341/* Use this function to bootstrap the client. 341/* Use this function to bootstrap the client.
342 * Sends a get nodes request to the given node with ip port and public_key. 342 * Sends a get nodes request to the given node with ip port and public_key.
343 * tox_bootstrap_ex converts the address into an IP_Port structure internally 343 * tox_bootstrap_ex() returns 1 if the address could be converted, 0 otherwise
344 */ 344 */
345void tox_bootstrap(Tox *tox, tox_IP_Port ip_port, uint8_t *public_key); 345void tox_bootstrap(Tox *tox, tox_IP_Port ip_port, uint8_t *public_key);
346void tox_bootstrap_ex(Tox *tox, const char *address, uint8_t ipv6enabled, 346int tox_bootstrap_ex(Tox *tox, const char *address, uint8_t ipv6enabled,
347 uint16_t port, uint8_t *public_key); 347 uint16_t port, uint8_t *public_key);
348 348
349/* return 0 if we are not connected to the DHT. 349/* return 0 if we are not connected to the DHT.