Initial pass at async resolving. This is ugly and leaks memory and I hate it, so dedicated thread incoming.

This commit is contained in:
Ian Gulliver
2016-02-23 10:46:40 -08:00
parent ebdb3f9dc0
commit c6a2150a7d
5 changed files with 124 additions and 35 deletions

6
adsbus/resolve.h Normal file
View File

@@ -0,0 +1,6 @@
#pragma once
struct peer;
struct addrinfo;
void resolve(struct peer *, const char *, const char *, int, struct addrinfo **, const char **);