Lines Matching refs:url
1173 fetch_ssl(conn_t *conn, const struct url *URL, int verbose) in fetch_ssl()
1199 __DECONST(struct url *, URL)->host)) { in fetch_ssl()
1655 fetch_netrc_auth(struct url *url) in fetch_netrc_auth() argument
1661 if (url->netrcfd < 0) in fetch_netrc_auth()
1662 url->netrcfd = fetch_netrc_open(); in fetch_netrc_auth()
1663 if (url->netrcfd < 0) in fetch_netrc_auth()
1665 if ((f = fdopen(url->netrcfd, "r")) == NULL) { in fetch_netrc_auth()
1668 close(url->netrcfd); in fetch_netrc_auth()
1669 url->netrcfd = -1; in fetch_netrc_auth()
1674 DEBUGF("searching netrc for %s\n", url->host); in fetch_netrc_auth()
1682 strcasecmp(word, url->host) == 0) { in fetch_netrc_auth()
1693 if (snprintf(url->user, sizeof(url->user), in fetch_netrc_auth()
1694 "%s", word) > (int)sizeof(url->user)) { in fetch_netrc_auth()
1696 url->user[0] = '\0'; in fetch_netrc_auth()
1701 if (snprintf(url->pwd, sizeof(url->pwd), in fetch_netrc_auth()
1702 "%s", word) > (int)sizeof(url->pwd)) { in fetch_netrc_auth()
1704 url->pwd[0] = '\0'; in fetch_netrc_auth()
1715 url->netrcfd = -1; in fetch_netrc_auth()
1720 url->netrcfd = -1; in fetch_netrc_auth()