/freebsd/lib/libfetch/ |
H A D | fetch.h | 40 struct url { struct 94 FILE *fetchXGetFile(struct url *, struct url_stat *, const char *); 95 FILE *fetchGetFile(struct url *, const char *); 96 FILE *fetchPutFile(struct url *, const char *); 97 int fetchStatFile(struct url *, struct url_stat *, const char *); 98 struct url_ent *fetchListFile(struct url *, const char *); 101 FILE *fetchXGetHTTP(struct url *, struct url_stat *, const char *); 102 FILE *fetchGetHTTP(struct url *, const char *); 103 FILE *fetchPutHTTP(struct url *, const char *); 104 int fetchStatHTTP(struct url *, struct url_stat *, const char *); [all …]
|
H A D | ftp.c | 102 static struct url cached_host; 905 ftp_authenticate(conn_t *conn, struct url *url, struct url *purl) in ftp_authenticate() argument 914 if (url->user[0] == '\0') in ftp_authenticate() 915 fetch_netrc_auth(url); in ftp_authenticate() 916 user = url->user; in ftp_authenticate() 922 if (purl && url->port == fetch_default_port(url->scheme)) in ftp_authenticate() 923 e = ftp_cmd(conn, "USER %s@%s", user, url->host); in ftp_authenticate() 925 e = ftp_cmd(conn, "USER %s@%s@%d", user, url->host, url->port); in ftp_authenticate() 931 pwd = url->pwd; in ftp_authenticate() 955 ftp_connect(struct url *url, struct url *purl, const char *flags) in ftp_connect() argument [all …]
|
H A D | http.c | 1248 http_auth_params_t *parms, struct url *url) in http_digest_auth() argument 1285 "GET", url->doc, null, digest); in http_digest_auth() 1292 c->nonce, url->doc, digest, in http_digest_auth() 1298 c->nonce, url->doc, digest, options); in http_digest_auth() 1333 http_auth_params_t *parms, struct url *url) in http_authorize() argument 1366 return (http_digest_auth(conn, hdr, digest, parms, url)); in http_authorize() 1377 http_connect(struct url *URL, struct url *purl, const char *flags) in http_connect() 1379 struct url *curl; in http_connect() 1499 static struct url * 1500 http_get_proxy(struct url * url, const char *flags) in http_get_proxy() argument [all …]
|
H A D | common.h | 122 int fetch_ssl(conn_t *, const struct url *, int); 131 int fetch_netrc_auth(struct url *url); 162 FILE *http_request(struct url *, const char *, 163 struct url_stat *, struct url *, const char *); 164 FILE *http_request_body(struct url *, const char *, 165 struct url_stat *, struct url *, const char *, 167 FILE *ftp_request(struct url *, const char *, 168 struct url_stat *, struct url *, const char *);
|
H A D | fetch.c | 76 fetchXGet(struct url *URL, struct url_stat *us, const char *flags) in fetchXGet() 100 fetchGet(struct url *URL, const char *flags) in fetchGet() 110 fetchPut(struct url *URL, const char *flags) in fetchPut() 130 fetchStat(struct url *URL, struct url_stat *us, const char *flags) in fetchStat() 154 fetchList(struct url *URL, const char *flags) in fetchList() 175 struct url *u; in fetchXGetURL() 202 struct url *u; in fetchPutURL() 220 struct url *u; in fetchStatURL() 238 struct url *u; in fetchListURL() 253 struct url * [all …]
|
H A D | file.c | 43 fetchXGetFile(struct url *u, struct url_stat *us, const char *flags) in fetchXGetFile() 67 fetchGetFile(struct url *u, const char *flags) in fetchGetFile() 73 fetchPutFile(struct url *u, const char *flags) in fetchPutFile() 114 fetchStatFile(struct url *u, struct url_stat *us, const char *flags __unused) in fetchStatFile() 120 fetchListFile(struct url *u, const char *flags __unused) in fetchListFile()
|
/freebsd/sbin/ipf/libipf/ |
H A D | load_url.c | 12 load_url(char *url) in load_url() argument 16 if (strncmp(url, "file://", 7) == 0) { in load_url() 21 hosts = load_file(url); in load_url() 23 } else if (*url == '/' || *url == '.') { in load_url() 24 hosts = load_file(url); in load_url() 26 } else if (strncmp(url, "http://", 7) == 0) { in load_url() 27 hosts = load_http(url); in load_url()
|
H A D | load_http.c | 30 load_http(char *url) in load_http() argument 41 if (strlen(url) > MAX_URL_LEN) { in load_http() 52 error = snprintf(buffer, avail, "GET %s HTTP/1.0\r\n", url); in load_http() 60 myurl = strdup(url); in load_http() 67 fprintf(stderr, "load_http has a malformed URL '%s'\n", url); in load_http() 77 fprintf(stderr, "load_http has a malformed URL '%s'\n", url); in load_http() 88 fprintf(stderr, "URL is too large: %s\n", url); in load_http() 189 url, linenum, buffer); in load_http()
|
/freebsd/contrib/wpa/src/wps/ |
H A D | http_client.c | 187 char * http_client_url_parse(const char *url, struct sockaddr_in *dst, in http_client_url_parse() argument 192 u = os_strdup(url); in http_client_url_parse() 215 url, addr, port); in http_client_url_parse() 236 struct http_client * http_client_url(const char *url, in http_client_url() argument 248 if (os_strncmp(url, "http://", 7) != 0) in http_client_url() 250 u = http_client_url_parse(url, &dst, &path); in http_client_url() 255 req_buf = wpabuf_alloc(os_strlen(url) + 1000); in http_client_url() 317 char * http_link_update(char *url, const char *base) in http_link_update() argument 326 if (url == NULL) in http_link_update() 329 if (os_strncmp(url, "http://", 7) == 0) in http_link_update() [all …]
|
H A D | http_client.h | 21 char * http_client_url_parse(const char *url, struct sockaddr_in *dst, 29 struct http_client * http_client_url(const char *url, 38 char * http_link_update(char *url, const char *base);
|
/freebsd/contrib/wpa/src/utils/ |
H A D | browser-system.c | 34 const char *url; in http_req() local 37 url = http_request_get_uri(req); in http_req() 38 wpa_printf(MSG_INFO, "Browser response received: %s", url); in http_req() 40 if (os_strcmp(url, "/") == 0) { in http_req() 43 } else if (os_strncmp(url, "/osu/", 5) == 0) { in http_req() 44 data->success = atoi(url + 5); in http_req() 65 int hs20_web_browser(const char *url, int ignore_tls) in hs20_web_browser() argument 72 wpa_printf(MSG_INFO, "Launching system browser to %s", url); in hs20_web_browser() 101 argv[1] = (void *) url; in hs20_web_browser()
|
H A D | browser-android.c | 34 const char *url; in http_req() local 37 url = http_request_get_uri(req); in http_req() 38 wpa_printf(MSG_INFO, "Browser response received: %s", url); in http_req() 40 if (os_strcmp(url, "/") == 0) { in http_req() 43 } else if (os_strncmp(url, "/osu/", 5) == 0) { in http_req() 44 data->success = atoi(url + 5); in http_req() 65 int hs20_web_browser(const char *url, int ignore_tls) in hs20_web_browser() argument 72 wpa_printf(MSG_INFO, "Launching Android browser to %s", url); in hs20_web_browser() 105 argv[5] = (void *) url; in hs20_web_browser()
|
H A D | browser-wpadebug.c | 34 const char *url; in http_req() local 37 url = http_request_get_uri(req); in http_req() 38 wpa_printf(MSG_INFO, "Browser response received: %s", url); in http_req() 40 if (os_strcmp(url, "/") == 0) { in http_req() 43 } else if (os_strncmp(url, "/osu/", 5) == 0) { in http_req() 44 data->success = atoi(url + 5); in http_req() 66 int hs20_web_browser(const char *url, int ignore_tls) in hs20_web_browser() argument 73 wpa_printf(MSG_INFO, "Launching wpadebug browser to %s", url); in hs20_web_browser() 112 argv[10] = (void *) url; in hs20_web_browser()
|
/freebsd/contrib/tnftp/src/ |
H A D | fetch.c | 268 url_decode(char *url) in url_decode() argument 272 if (EMPTYSTRING(url)) in url_decode() 274 p = q = (unsigned char *)url; in url_decode() 322 parse_url(const char *url, const char *desc, url_t *utype, in parse_url() argument 330 if (url == NULL || desc == NULL || utype == NULL || uuser == NULL in parse_url() 334 DPRINTF("parse_url: %s `%s'\n", desc, url); in parse_url() 336 origurl = url; in parse_url() 342 if (STRNEQUAL(url, HTTP_URL)) { in parse_url() 343 url += sizeof(HTTP_URL) - 1; in parse_url() 347 } else if (STRNEQUAL(url, FTP_URL)) { in parse_url() [all …]
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | http_server.c | 292 char *meth, *url, *end; in http_server_get_asn1_req() local 340 url = meth + 3; in http_server_get_asn1_req() 342 || (url++, strncmp(meth, "POST ", 5) == 0)) { in http_server_get_asn1_req() 347 *(url++) = '\0'; in http_server_get_asn1_req() 348 while (*url == ' ') in http_server_get_asn1_req() 349 url++; in http_server_get_asn1_req() 350 if (*url != '/') { in http_server_get_asn1_req() 353 meth, url); in http_server_get_asn1_req() 357 url++; in http_server_get_asn1_req() 360 for (end = url; *end != '\0'; end++) in http_server_get_asn1_req() [all …]
|
/freebsd/contrib/wpa/src/ap/ |
H A D | hs20.c | 104 u8 osu_method, const char *url) in hs20_send_wnm_notification() argument 113 if (url) { in hs20_send_wnm_notification() 114 len = 1 + os_strlen(url); in hs20_send_wnm_notification() 117 "WNM-Notification: '%s'", url); in hs20_send_wnm_notification() 136 if (url) { in hs20_send_wnm_notification() 138 wpabuf_put_data(buf, url, len - 1); in hs20_send_wnm_notification() 190 const u8 *addr, const char *url) in hs20_send_wnm_notification_t_c() argument 196 if (!url) { in hs20_send_wnm_notification_t_c() 201 url_len = os_strlen(url); in hs20_send_wnm_notification_t_c() 205 url); in hs20_send_wnm_notification_t_c() [all …]
|
/freebsd/usr.bin/fetch/ |
H A D | fetch.c | 384 query_auth(struct url *URL) in query_auth() 427 struct url *url; in fetch() local 455 url = NULL; in fetch() 460 if ((url = fetchParseURL(URL)) == NULL) { in fetch() 466 if (!*url->scheme) { in fetch() 467 if (!*url->host) in fetch() 468 strcpy(url->scheme, SCHEME_FILE); in fetch() 469 else if (strncasecmp(url->host, "ftp.", 4) == 0) in fetch() 470 strcpy(url->scheme, SCHEME_FTP); in fetch() 471 else if (strncasecmp(url->host, "www.", 4) == 0) in fetch() [all …]
|
/freebsd/contrib/wpa/hs20/client/ |
H A D | osu_client.h | 89 int cmd_prov(struct hs20_osu_client *ctx, const char *url); 90 int cmd_sim_prov(struct hs20_osu_client *ctx, const char *url); 95 int cmd_oma_dm_prov(struct hs20_osu_client *ctx, const char *url); 96 int cmd_oma_dm_sim_prov(struct hs20_osu_client *ctx, const char *url); 116 int est_load_cacerts(struct hs20_osu_client *ctx, const char *url); 117 int est_build_csr(struct hs20_osu_client *ctx, const char *url); 118 int est_simple_enroll(struct hs20_osu_client *ctx, const char *url,
|
H A D | oma_dm_client.c | 109 const char *url, int msgid) in oma_dm_build_hdr() argument 129 oma_dm_add_locuri(ctx, synchdr, "Target", url); in oma_dm_build_hdr() 299 const char *url, int msgid, const char *oper) in build_oma_dm_1() argument 305 syncml = oma_dm_build_hdr(ctx, url, msgid); in build_oma_dm_1() 337 const char *url, int msgid) in build_oma_dm_1_sub_reg() argument 341 syncml = build_oma_dm_1(ctx, url, msgid, DM_HS20_SUBSCRIPTION_CREATION); in build_oma_dm_1_sub_reg() 350 const char *url, int msgid) in build_oma_dm_1_sub_prov() argument 354 syncml = build_oma_dm_1(ctx, url, msgid, in build_oma_dm_1_sub_prov() 364 const char *url, int msgid) in build_oma_dm_1_pol_upd() argument 368 syncml = build_oma_dm_1(ctx, url, msgid, DM_HS20_POLICY_UPDATE); in build_oma_dm_1_pol_upd() [all …]
|
/freebsd/crypto/openssl/demos/certs/ |
H A D | ocspquery.sh | 12 -url http://127.0.0.1:8888/ 14 -url http://127.0.0.1:8888/ 16 -url http://127.0.0.1:8888/ 21 -CAfile root.pem -url http://127.0.0.1:8888/
|
/freebsd/share/doc/papers/ |
H A D | bsdreferences.bib | 10 url = {http://dl.acm.org/citation.cfm?id=2592801}, 26 url = {http://doi.acm.org/10.1145/956993.957010}, 46 url = {http://doi.acm.org/10.1145/1384609.1384613}, 64 url = {http://dl.acm.org/citation.cfm?id=1161734.1162020}, 79 url = {http://doi.acm.org/10.1145/1985441.1985463}, 98 url = {http://doi.acm.org/10.1145/1370750.1370766}, 118 url = {http://doi.acm.org/10.1145/2786763.2694367}, 138 url = {http://doi.acm.org/10.1145/2775054.2694367}, 156 url = {http://doi.acm.org/10.1145/2694344.2694367}, 176 url = {http://doi.acm.org/10.1145/360271.360272}, [all …]
|
/freebsd/sys/contrib/libsodium/packaging/dotnet-core/ |
H A D | prepare.py | 60 …self.url = 'https://download.libsodium.org/libsodium/releases/libsodium-{0}-msvc.zip'.format(versi… 61 self.cachefile = os.path.join(CACHEDIR, re.sub(r'[^A-Za-z0-9.]', '-', self.url)) 84 …self.url = 'https://bintray.com/homebrew/bottles/download_file?file_path=libsodium-{0}.{1}.bottle.… 85 self.cachefile = os.path.join(CACHEDIR, re.sub(r'[^A-Za-z0-9.]', '-', self.url)) 108 …self.url = 'https://download.libsodium.org/libsodium/releases/libsodium-{0}.tar.gz'.format(version… 109 self.cachefile = os.path.join(CACHEDIR, re.sub(r'[^A-Za-z0-9.]', '-', self.url)) 144 …self.url = 'https://download.libsodium.org/libsodium/releases/libsodium-{0}.tar.gz'.format(version… 145 self.cachefile = os.path.join(CACHEDIR, re.sub(r'[^A-Za-z0-9.]', '-', self.url)) 189 downloads = {item.cachefile: item.url for item in items}
|
/freebsd/usr.sbin/bsdconfig/share/media/ |
H A D | http.subr | 162 local url 163 f_getvar $VAR_HTTP_PATH url 166 if f_struct device_network && [ "${url#$msg_other}" ]; then 167 f_dialog_yesno "$msg_reuse_old_http_site_settings" || url= 170 if [ ! "$url" ]; then 172 f_getvar $VAR_HTTP_PATH url 174 [ "$url" ] || return $FAILURE 176 case "$url" in 181 f_getvar $VAR_HTTP_PATH url 182 if [ ! "${url#http://}" ]; then [all …]
|
/freebsd/crypto/openssl/crypto/http/ |
H A D | http_lib.c | 46 int OSSL_parse_url(const char *url, char **pscheme, char **puser, char **phost, in OSSL_parse_url() argument 69 if (url == NULL) { in OSSL_parse_url() 75 scheme = scheme_end = url; in OSSL_parse_url() 76 p = strstr(url, "://"); in OSSL_parse_url() 78 p = url; in OSSL_parse_url() 192 int OSSL_HTTP_parse_url(const char *url, int *pssl, char **puser, char **phost, in OSSL_HTTP_parse_url() argument 202 if (!OSSL_parse_url(url, &scheme, puser, phost, &port, pport_num, in OSSL_HTTP_parse_url()
|
/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBPlatform.cpp | 37 PlatformConnectOptions(const char *url = nullptr) { in PlatformConnectOptions() 38 if (url && url[0]) 39 m_url = url; 79 SBPlatformConnectOptions::SBPlatformConnectOptions(const char *url) in SBPlatformConnectOptions() 80 : m_opaque_ptr(new PlatformConnectOptions(url)) { 81 LLDB_INSTRUMENT_VA(this, url); in SBPlatformConnectOptions() 110 void SBPlatformConnectOptions::SetURL(const char *url) { in SetURL() 111 LLDB_INSTRUMENT_VA(this, url); in SetURL() 113 if (url in SetURL() 76 SBPlatformConnectOptions(const char * url) SBPlatformConnectOptions() argument 107 SetURL(const char * url) SetURL() argument [all...] |