Change resolution to use a single resolve thread, and to clean up after itself.

This commit is contained in:
Ian Gulliver
2016-02-23 11:53:17 -08:00
parent c6a2150a7d
commit 289dcdbb54
4 changed files with 73 additions and 50 deletions

View File

@@ -3,4 +3,6 @@
struct peer;
struct addrinfo;
void resolve_init();
void resolve_cleanup();
void resolve(struct peer *, const char *, const char *, int, struct addrinfo **, const char **);