150
134
* use, or we'll leak memory!
153
138
#define CURLRESOLV_ERROR -1
154
139
#define CURLRESOLV_RESOLVED 0
155
140
#define CURLRESOLV_PENDING 1
156
141
int Curl_resolv(struct connectdata *conn, const char *hostname,
157
142
int port, struct Curl_dns_entry **dnsentry);
160
148
* Curl_ipvalid() checks what CURL_IPRESOLVE_* requirements that might've