Separated bootstrap process to a function.

This commit is contained in:
Håvard Pettersson 2014-09-02 23:36:24 +02:00
parent c4622ab509
commit 2192806a41
2 changed files with 15 additions and 4 deletions

View file

@ -8,6 +8,11 @@
*/
void tox_weechat_tox_init();
/**
* Bootstrap DHT using an inet address, port and a Tox address.
*/
void tox_weechat_bootstrap(char *address, uint16_t port, char *public_key);
/**
* Dump Tox to file and de-initialize.
*/