Finally find a clean ownership solution for resolve().
This commit is contained in:
@@ -5,4 +5,5 @@ struct addrinfo;
|
||||
|
||||
void resolve_init(void);
|
||||
void resolve_cleanup(void);
|
||||
void resolve(struct peer *, const char *, const char *, int, struct addrinfo **, const char **);
|
||||
void resolve(struct peer *, const char *, const char *, int);
|
||||
int resolve_result(struct peer *, struct addrinfo **addrs);
|
||||
|
||||
Reference in New Issue
Block a user