Home
last modified time | relevance | path

Searched refs:scheme (Results 1 – 25 of 70) sorted by relevance

123

/dflybsd-src/lib/libfetch/
H A Dfetch.c87 if (strcmp(URL->scheme, SCHEME_FILE) == 0) in fetchXGet()
89 else if (strcmp(URL->scheme, SCHEME_FTP) == 0) in fetchXGet()
91 else if (strcmp(URL->scheme, SCHEME_HTTP) == 0) in fetchXGet()
93 else if (strcmp(URL->scheme, SCHEME_HTTPS) == 0) in fetchXGet()
117 if (strcmp(URL->scheme, SCHEME_FILE) == 0) in fetchPut()
119 else if (strcmp(URL->scheme, SCHEME_FTP) == 0) in fetchPut()
121 else if (strcmp(URL->scheme, SCHEME_HTTP) == 0) in fetchPut()
123 else if (strcmp(URL->scheme, SCHEME_HTTPS) == 0) in fetchPut()
141 if (strcmp(URL->scheme, SCHEME_FILE) == 0) in fetchStat()
143 else if (strcmp(URL->scheme, SCHEME_FTP) == 0) in fetchStat()
[all …]
H A Dhttp.c635 http_auth_schemes_t scheme; member
648 b->scheme = HTTPAS_UNKNOWN; in init_http_auth_challenge()
785 cs->challenges[cs->count]->scheme = HTTPAS_BASIC; in http_parse_authenticate()
787 cs->challenges[cs->count]->scheme = HTTPAS_DIGEST; in http_parse_authenticate()
789 cs->challenges[cs->count]->scheme = HTTPAS_UNKNOWN; in http_parse_authenticate()
1029 char *scheme; member
1038 s->scheme = s->realm = s->user = s->password = NULL; in init_http_auth_params()
1044 if (s->scheme) in clean_http_auth_params()
1045 free(s->scheme); in clean_http_auth_params()
1072 if ((parms->scheme = strdup(v)) == NULL) { in http_authfromenv()
[all …]
H A Dftp.c922 if (purl && url->port == fetch_default_port(url->scheme)) in ftp_authenticate()
1046 url->port = fetch_default_port(url->scheme); in ftp_cached_connect()
1081 if (!*purl->scheme) { in ftp_get_proxy()
1083 strcpy(purl->scheme, SCHEME_FTP); in ftp_get_proxy()
1085 strcpy(purl->scheme, SCHEME_HTTP); in ftp_get_proxy()
1088 purl->port = fetch_default_proxy_port(purl->scheme); in ftp_get_proxy()
1089 if (strcmp(purl->scheme, SCHEME_FTP) == 0 || in ftp_get_proxy()
1090 strcmp(purl->scheme, SCHEME_HTTP) == 0) in ftp_get_proxy()
1108 if (purl && (strcmp(purl->scheme, SCHEME_HTTP) == 0 || in ftp_request()
1109 strcmp(purl->scheme, SCHEME_HTTPS) == 0)) { in ftp_request()
H A Dcommon.c246 fetch_default_port(const char *scheme) in fetch_default_port() argument
250 if ((se = getservbyname(scheme, "tcp")) != NULL) in fetch_default_port()
252 if (strcmp(scheme, SCHEME_FTP) == 0) in fetch_default_port()
254 if (strcmp(scheme, SCHEME_HTTP) == 0) in fetch_default_port()
263 fetch_default_proxy_port(const char *scheme) in fetch_default_proxy_port() argument
265 if (strcmp(scheme, SCHEME_FTP) == 0) in fetch_default_proxy_port()
267 if (strcmp(scheme, SCHEME_HTTP) == 0) in fetch_default_proxy_port()
H A Dfetch.h43 char scheme[URL_SCHEMELEN+1]; member
/dflybsd-src/crypto/libressl/crypto/asn1/
H A Dp5_pbev2.c189 X509_ALGOR *scheme = NULL, *kalg = NULL, *ret = NULL; in PKCS5_pbe2_set_iv() local
207 scheme = pbe2->encryption; in PKCS5_pbe2_set_iv()
209 scheme->algorithm = obj; in PKCS5_pbe2_set_iv()
210 if (!(scheme->parameter = ASN1_TYPE_new())) in PKCS5_pbe2_set_iv()
226 if (EVP_CIPHER_param_to_asn1(&ctx, scheme->parameter) < 0) { in PKCS5_pbe2_set_iv()
/dflybsd-src/contrib/libpcap/
H A Dpcap.c1731 char *scheme; local
1817 scheme = malloc(scheme_len + 1);
1818 if (scheme == NULL) {
1823 memcpy(scheme, source, scheme_len);
1824 scheme[scheme_len] = '\0';
1830 if (pcap_strcasecmp(scheme, "file") == 0) {
1835 free(scheme);
1838 *schemep = scheme;
1850 if ((pcap_strcasecmp(scheme, "rpcap") == 0 ||
1851 pcap_strcasecmp(scheme, "rpcaps") == 0) &&
[all …]
/dflybsd-src/usr.bin/fetch/
H A Dfetch.c401 URL->scheme, URL->host, URL->port); in query_auth()
476 if (!*url->scheme) { in fetch()
478 strcpy(url->scheme, SCHEME_FILE); in fetch()
480 strcpy(url->scheme, SCHEME_FTP); in fetch()
482 strcpy(url->scheme, SCHEME_HTTP); in fetch()
496 if (strcmp(url->scheme, SCHEME_FTP) == 0) { in fetch()
507 if (strcmp(url->scheme, SCHEME_HTTP) == 0 || in fetch()
508 strcmp(url->scheme, SCHEME_HTTPS) == 0) { in fetch()
597 if (i_flag && (strcmp(url->scheme, SCHEME_HTTP) == 0 || in fetch()
598 strcmp(url->scheme, SCHEME_HTTPS) == 0) && in fetch()
[all …]
/dflybsd-src/contrib/file/magic/Magdir/
H A Dlisp73 #.com and .bin for MIT scheme
74 0 string \372\372\372\372 MIT scheme (library?)
H A Dmeasure13 >8 ubyte x color scheme %d
H A Djpeg105 # HSI is Handmade Software's proprietary JPEG encoding scheme
/dflybsd-src/contrib/binutils-2.27/libiberty/
H A DREADME64 On most hosts you should be able to use the scheme for automatically
68 If the fully automatic scheme doesn't work, you may be able to get
/dflybsd-src/contrib/gdb-7/libiberty/
H A DREADME64 On most hosts you should be able to use the scheme for automatically
68 If the fully automatic scheme doesn't work, you may be able to get
/dflybsd-src/nrelease/gui/root/
H A D.Xresources12 ! Tango color scheme
/dflybsd-src/contrib/binutils-2.27/gas/
H A DREADME44 script are based on a three-part naming scheme, but some short
45 predefined aliases are also supported. The full naming scheme encodes
/dflybsd-src/contrib/tnftp/src/
H A Dfetch.c270 const char *cp, *scheme, *errormsg; in auth_url() local
281 scheme = "Basic"; /* only support Basic authentication */ in auth_url()
286 if (! match_token(&cp, scheme)) { in auth_url()
342 rlen = strlen(scheme) + 1 + (clen + 2) * 4 / 3 + 1; in auth_url()
344 (void)strlcpy(*response, scheme, rlen); in auth_url()
/dflybsd-src/contrib/mpfr/
H A DREADME75 can now use the "https:" scheme (a.k.a. DAV) instead of "svn:".
/dflybsd-src/contrib/ncurses/include/
H A Dcurses.tail49 * In 32 bits the version-1 scheme does not provide enough space for a 5th
/dflybsd-src/etc/
H A Dprotocols110 # 99 # any private encryption scheme
/dflybsd-src/sys/vfs/hammer2/
H A DFREEMAP311 The Freemap is defined above as a fixed 5-level scheme (level 1-5),
320 won't actually use a 5-level scheme. A 16GB filesystem can use 8
/dflybsd-src/gnu/usr.bin/rcs/
H A DNEWS503 Use a better scheme for locking revisions; the current scheme requires
505 The new scheme should coexist as well as possible with older versions of RCS,
/dflybsd-src/crypto/openssh/
H A Dmisc.c1012 parse_uri(const char *scheme, const char *uri, char **userp, char **hostp, in parse_uri() argument
1020 len = strlen(scheme); in parse_uri()
1021 if (strncmp(uri, scheme, len) != 0 || strncmp(uri + len, "://", 3) != 0) in parse_uri()
/dflybsd-src/contrib/ldns/
H A Ddnssec_zone.c1559 zone_digester_add(zone_digester *zd, zonemd_scheme scheme, zonemd_hash hash) argument
1564 switch (scheme) {
/dflybsd-src/usr.bin/window/
H A DREADME146 interrupt scheme used by the two interrupt catchers wwrint() and
/dflybsd-src/
H A DUPDATING377 of Fred was added, one with a blue scheme.
381 blue scheme is used.
386 fred_is_red: changes color scheme from blue to red

123