static curl_socket_t
singleipconnect(struct connectdata *conn,
- Curl_addrinfo *ai, /* start connecting to this */
+ const Curl_addrinfo *ai, /* start connecting to this */
long timeout_ms,
bool *connected);
having connected if used from the multi interface. */
static curl_socket_t
singleipconnect(struct connectdata *conn,
- Curl_addrinfo *ai,
+ const Curl_addrinfo *ai,
long timeout_ms,
bool *connected)
{
*/
CURLcode Curl_connecthost(struct connectdata *conn, /* context */
- struct Curl_dns_entry *remotehost, /* use this one */
+ const struct Curl_dns_entry *remotehost, /* use this one */
curl_socket_t *sockconn, /* the connected socket */
Curl_addrinfo **addr, /* the one we used */
bool *connected) /* really connected? */
bool *connected);
CURLcode Curl_connecthost(struct connectdata *conn,
- struct Curl_dns_entry *host, /* connect to this */
+ const struct Curl_dns_entry *host, /* connect to this */
curl_socket_t *sockconn, /* not set if error */
Curl_addrinfo **addr, /* the one we used */
bool *connected /* truly connected? */