/freebsd-10.0-release/contrib/serf/auth/ |
H A D | auth.c | 37 scheme will be used first when the server supports it. 42 Use lower case for the scheme names to enable case insensitive matching. 117 * tries to find a matching scheme handler. 128 const serf__authn_scheme_t *scheme; local 136 Note that we don't reuse the auth scheme stored in the context, 138 for (scheme = serf_authn_schemes; scheme->name != 0; ++scheme) { 143 if (! (ctx->authn_types & scheme->type)) 147 "Client supports: %s\n", scheme 414 serf__encode_auth_header(const char **header, const char *scheme, const char *data, apr_size_t data_len, apr_pool_t *pool) argument [all...] |
H A D | auth_spnego.h | 54 const serf__authn_scheme_t *scheme,
|
H A D | auth.h | 29 /* Prefixes the realm_name with a string containing scheme, hostname and port 40 apr_status_t serf__init_basic_connection(const serf__authn_scheme_t *scheme, 63 apr_status_t serf__init_digest_connection(const serf__authn_scheme_t *scheme, 93 apr_status_t serf__init_spnego_connection(const serf__authn_scheme_t *scheme,
|
H A D | auth_basic.c | 95 code, authn_info->scheme->name, 107 authn_info->scheme->name, 129 serf__init_basic_connection(const serf__authn_scheme_t *scheme, argument
|
H A D | auth_spnego.c | 333 serf__encode_auth_header(&gss_info->value, authn_info->scheme->name, 355 serf__init_spnego_connection(const serf__authn_scheme_t *scheme, argument 367 status = serf__spnego_create_sec_context(&gss_info->gss_ctx, scheme,
|
H A D | auth_spnego_sspi.c | 115 const serf__authn_scheme_t *scheme, 130 ctx->authn_type = scheme->type; 114 serf__spnego_create_sec_context(serf__spnego_context_t **ctx_p, const serf__authn_scheme_t *scheme, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
|
/freebsd-10.0-release/lib/libfetch/ |
H A D | fetch.c | 61 { URL_BAD_SCHEME, FETCH_URL, "Invalid URL scheme" }, 70 * Select the appropriate protocol for the URL scheme, and return a 82 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) 84 else if (strcasecmp(URL->scheme, SCHEME_FTP) == 0) 86 else if (strcasecmp(URL->scheme, SCHEME_HTTP) == 0) 88 else if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0) 95 * Select the appropriate protocol for the URL scheme, and return a 105 * Select the appropriate protocol for the URL scheme, and return a 112 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) 114 else if (strcasecmp(URL->scheme, SCHEME_FT 253 fetchMakeURL(const char *scheme, const char *host, int port, const char *doc, const char *user, const char *pwd) argument [all...] |
H A D | http.c | 631 http_auth_schemes_t scheme; member in struct:__anon5552 644 b->scheme = HTTPAS_UNKNOWN; 781 cs->challenges[cs->count]->scheme = HTTPAS_BASIC; 783 cs->challenges[cs->count]->scheme = HTTPAS_DIGEST; 785 cs->challenges[cs->count]->scheme = HTTPAS_UNKNOWN; 1017 * The value is like scheme:realm:user:pass 1020 char *scheme; member in struct:__anon5555 1029 s->scheme = s->realm = s->user = s->password = 0; 1035 if (s->scheme) 1036 free(s->scheme); [all...] |
H A D | fetch.h | 41 char scheme[URL_SCHEMELEN+1]; member in struct:url
|
H A D | ftp.c | 919 if (purl && url->port == fetch_default_port(url->scheme)) 1042 url->port = fetch_default_port(url->scheme); 1077 if (!*purl->scheme) { 1079 strcpy(purl->scheme, SCHEME_FTP); 1081 strcpy(purl->scheme, SCHEME_HTTP); 1084 purl->port = fetch_default_proxy_port(purl->scheme); 1085 if (strcasecmp(purl->scheme, SCHEME_FTP) == 0 || 1086 strcasecmp(purl->scheme, SCHEME_HTTP) == 0) 1104 if (purl && strcasecmp(purl->scheme, SCHEME_HTTP) == 0) {
|
/freebsd-10.0-release/usr.sbin/bsdinstall/partedit/ |
H A D | scripted.c | 66 part_config(char *disk, const char *scheme, char *config) argument 74 if (scheme == NULL) 75 scheme = default_scheme(); 84 /* Remove any existing partitioning and create new scheme */ 95 gpart_partition(disk, scheme); 97 if (strcmp(scheme, "PC98") == 0 || strcmp(scheme, "MBR") == 0) { 149 char *disk = NULL, *scheme = NULL, *partconfig = NULL; local 174 else if (scheme == NULL) 175 scheme [all...] |
H A D | gpart_ops.c | 69 scheme_supports_labels(const char *scheme) argument 71 if (strcmp(scheme, "APM") == 0) 73 if (strcmp(scheme, "GPT") == 0) 75 if (strcmp(scheme, "PC98") == 0) 162 gpart_partition(const char *lg_name, const char *scheme) argument 184 if (scheme == NULL) { 187 "Select a partition scheme for this volume:", 0, 0, 0, 196 sprintf(message, "This partition scheme (%s) is not " 206 scheme = items[choice].name; 213 gctl_ro_param(r, "scheme", 235 const char *errstr, *scheme; local 283 const char *errstr, *scheme; local 335 const char *scheme; local 416 const char *errstr, *oldtype, *scheme; local 564 set_default_part_metadata(const char *name, const char *scheme, const char *type, const char *mountpoint, const char *newfs) argument 749 const char *errstr, *scheme; local [all...] |
H A D | part_wizard.c | 194 const char *scheme = NULL; local 210 if (strcmp(gc->lg_name, "scheme") == 0) { 211 scheme = gc->lg_val; 217 /* Treat uncommitted scheme deletions as no scheme */ 218 if (scheme != NULL && strcmp(scheme, "(none)") == 0) 219 scheme = NULL; 237 if (choice == 1 && scheme != NULL && !is_scheme_bootable(scheme)) { [all...] |
H A D | partedit.h | 71 int gpart_partition(const char *lg_name, const char *scheme); 72 void set_default_part_metadata(const char *name, const char *scheme,
|
/freebsd-10.0-release/contrib/groff/src/libs/libgroff/ |
H A D | color.cpp | 78 scheme = c->scheme; 91 if (scheme != c.scheme) 93 switch (scheme) { 132 return scheme; 137 scheme = DEFAULT; 145 scheme = RGB; 156 scheme = CMY; 167 scheme [all...] |
/freebsd-10.0-release/contrib/apr-util/ldap/ |
H A D | apr_ldap_url.c | 102 const char **scheme); 120 const char * scheme; local 126 if( skip_url_prefix( url, &enclosed, &scheme ) == NULL ) { 140 const char * scheme; local 146 if( skip_url_prefix( url, &enclosed, &scheme ) == NULL ) { 150 return strcmp(scheme, "ldaps") == 0; 160 const char * scheme; local 166 if( skip_url_prefix( url, &enclosed, &scheme ) == NULL ) { 170 return strcmp(scheme, "ldapi") == 0; 175 const char **scheme) 174 skip_url_prefix(const char *url, int *enclosedp, const char **scheme) argument 267 const char *scheme = NULL; local [all...] |
/freebsd-10.0-release/contrib/groff/src/include/ |
H A D | color.h | 33 color_scheme scheme; member in class:color 44 color(symbol s = default_symbol) : scheme(DEFAULT), nm(s) {} 53 int is_default() { return scheme == DEFAULT; } 71 // Return the actual color scheme and retrieve the color components
|
/freebsd-10.0-release/contrib/apr-util/uri/ |
H A D | apr_uri.c | 38 /** The name of the scheme */ 40 /** The default port for the scheme */ 75 schemes_t *scheme; local 78 for (scheme = schemes; scheme->name != NULL; ++scheme) { 79 if (strcasecmp(scheme_str, scheme->name) == 0) { 80 return scheme->default_port; 96 /* If suppressing the site part, omit both user name & scheme://hostname */ 117 /* Construct scheme [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/asn1/ |
H A D | p5_pbev2.c | 93 X509_ALGOR *scheme = NULL, *kalg = NULL, *ret = NULL; 110 /* Setup the AlgorithmIdentifier for the encryption scheme */ 111 scheme = pbe2->encryption; 113 scheme->algorithm = obj; 114 if(!(scheme->parameter = ASN1_TYPE_new())) goto merr; 130 if(EVP_CIPHER_param_to_asn1(&ctx, scheme->parameter) < 0) { 186 /* Note 'scheme' is freed as part of pbe2 */
|
/freebsd-10.0-release/contrib/apr-util/include/ |
H A D | apr_uri.h | 63 /** suppress "scheme://user\@site:port" */ 74 /** Show "scheme://user\@site:port" only */ 86 /** scheme ("http"/"ftp"/...) */ 87 char *scheme; member in struct:apr_uri_t 98 /** the request path (or NULL if only scheme://host was given) */ 122 * Return the default port for a given scheme. The schemes recognized are 124 * @param scheme_str The string that contains the current scheme 125 * @return The default port for this scheme 136 * APR_URI_UNP_OMITSITEPART Suppress "scheme://user\@site:port" 141 * APR_URI_UNP_OMITPATHINFO Show "scheme [all...] |
/freebsd-10.0-release/contrib/apr-util/test/ |
H A D | testuri.c | 28 const char *scheme; member in struct:aup_test 232 " scheme: %s\n" 246 info->scheme, info->hostinfo, info->user, info->password, 272 ABTS_STR_EQUAL(tc, t->scheme, info.scheme); 288 ABTS_STR_EQUAL(tc, info.scheme, NULL);
|
/freebsd-10.0-release/crypto/openssh/ |
H A D | auth2-jpake.c | 215 * Select the system's default password hashing scheme and generate 220 fake_salt_and_scheme(Authctxt *authctxt, char **salt, char **scheme) argument 241 *scheme = xstrdup("md5"); 244 *scheme = xstrdup("crypt"); 252 *scheme = xstrdup("crypt-extended"); 259 *scheme = xstrdup("bcrypt"); 263 __func__, *scheme, authctxt->user, *salt); 267 * Fetch password hashing scheme, password salt and derive shared secret 344 debug("%s: unrecognised crypt scheme for user %s", 360 debug3("%s: scheme [all...] |
/freebsd-10.0-release/contrib/serf/ |
H A D | outgoing.c | 365 if (authn_info->scheme) { 366 authn_info->scheme->init_conn_func(authn_info->scheme, 407, 372 if (authn_info->scheme) { 373 authn_info->scheme->init_conn_func(authn_info->scheme, 401, 378 if (ctx->proxy_address && strcmp(conn->host_info.scheme, "https") == 0) 1326 host_info.port = apr_uri_port_of_scheme(host_info.scheme); 1350 c->host_info.port = apr_uri_port_of_scheme(c->host_info.scheme); 1626 (strcmp(conn->host_info.scheme, "http [all...] |
/freebsd-10.0-release/usr.bin/fetch/ |
H A D | fetch.c | 367 URL->scheme, URL->host, URL->port); 441 /* if no scheme was specified, take a guess */ 442 if (!*url->scheme) { 444 strcpy(url->scheme, SCHEME_FILE); 446 strcpy(url->scheme, SCHEME_FTP); 448 strcpy(url->scheme, SCHEME_HTTP); 462 if (strcmp(url->scheme, SCHEME_FTP) == 0) { 473 if (strcmp(url->scheme, SCHEME_HTTP) == 0 || 474 strcmp(url->scheme, SCHEME_HTTPS) == 0) { 555 if (i_flag && strcmp(url->scheme, SCHEME_HTT [all...] |
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_ra/ |
H A D | ra_loader.c | 65 * (Currently, this applies to the https scheme, which is only 188 /* If SCHEMES contains URL, return the scheme. Else, return NULL. */ 196 const char *scheme = *schemes; 197 len = strlen(scheme); 199 URL to contain a trailing "+foo" section in the scheme, since 201 if (strncasecmp(scheme, url, len) == 0 && 203 return scheme; 212 check_ra_version(const svn_version_t *ra_version, const char *scheme) 220 scheme, 437 const char *scheme; 194 const char *scheme = *schemes; local 210 check_ra_version(const svn_version_t *ra_version, const char *scheme) argument 434 const char *scheme; local 1507 const char *scheme; local [all...] |