Files

10 lines
220 B
C
Raw Permalink Normal View History

#pragma once
struct peer;
struct addrinfo;
void resolve_init(void);
void resolve_cleanup(void);
void resolve(struct peer *, const char *, const char *, int);
int resolve_result(struct peer *, struct addrinfo **addrs);