1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 03:06:45 +02:00

Automatically update DHT nodeslist

List is now automatically fetched from nodes.tox.chat and placed in the
user config directory. The list is updated once every 30 days, and
will attempt to detect problems and re-fetch the list if necessary.

Also fixed a couple file descriptor leaks and cleaned some things up.
This commit is contained in:
Jfreegman
2016-09-20 00:00:09 -04:00
parent 1f8c11a33a
commit a009f11c0c
15 changed files with 440 additions and 144 deletions

View File

@ -29,8 +29,7 @@
* Returns 0 on success.
* Returns -1 on failure.
*/
int name_lookup_init(void);
void name_lookup_cleanup(void);
int name_lookup_init(int curl_init_status);
int name_lookup(ToxWindow *self, Tox *m, const char *id_bin, const char *addr, const char *message);