Searched refs:purl (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/lib/libfetch/
H A Dftp.c904 ftp_authenticate(conn_t *conn, struct url *url, struct url *purl) argument
921 if (purl && url->port == fetch_default_port(url->scheme))
923 else if (purl)
954 ftp_connect(struct url *url, struct url *purl, const char *flags) argument
972 purl = NULL;
975 if (purl) {
977 conn = fetch_connect(purl->host, purl->port, af, verbose);
981 purl = NULL;
994 if ((e = ftp_authenticate(conn, url, purl)) !
1038 ftp_cached_connect(struct url *url, struct url *purl, const char *flags) argument
1070 struct url *purl; local
1100 ftp_request(struct url *url, const char *op, struct url_stat *us, struct url *purl, const char *flags) argument
[all...]
H A Dhttp.c1381 http_connect(struct url *URL, struct url *purl, const char *flags) argument
1408 curl = (purl != NULL) ? purl : URL;
1415 if (strcmp(URL->scheme, SCHEME_HTTPS) == 0 && purl) {
1422 if (*purl->user || *purl->pwd) {
1423 aparams.user = strdup(purl->user);
1424 aparams.password = strdup(purl->pwd);
1432 } else if (fetch_netrc_auth(purl) == 0) {
1433 aparams.user = strdup(purl
1506 struct url *purl; local
1570 http_request(struct url *URL, const char *op, struct url_stat *us, struct url *purl, const char *flags) argument
1584 http_request_body(struct url *URL, const char *op, struct url_stat *us, struct url *purl, const char *flags, const char *content_type, const char *body) argument
[all...]

Completed in 58 milliseconds