Lines Matching defs:scheme
75 char scheme_copy[256], *p, *schemes[2], *scheme = NULL;
80 * Put the file scheme first. If the uri does represent an existing file,
87 * Now, check if we have something that looks like a scheme, and add it
88 * as a second scheme. However, also check if there's an authority start
89 * (://), because that will invalidate the previous file scheme. Also,
90 * check that this isn't actually the file scheme, as there's no point
98 schemes_n--; /* Invalidate the file scheme */
106 * Try each scheme until we find one that could open the URI.
108 * For each scheme, we look for the engine implementation first, and
114 scheme = schemes[i];
115 OSSL_TRACE1(STORE, "Looking up scheme %s\n", scheme);
117 if ((loader = ossl_store_get0_loader_int(scheme)) != NULL) {
128 OSSL_STORE_LOADER_fetch(libctx, scheme, propq)) != NULL) {
155 OSSL_TRACE1(STORE, "Found loader for scheme %s\n", scheme);
186 * If the attempt to open with the 'file' scheme loader failed and the
187 * other scheme loader succeeded, the failure to open with the 'file'
188 * scheme loader leaves an error on the error stack. Let's remove it.
963 OSSL_STORE_CTX *OSSL_STORE_attach(BIO *bp, const char *scheme,
975 if (scheme == NULL)
976 scheme = "file";
978 OSSL_TRACE1(STORE, "Looking up scheme %s\n", scheme);
981 if ((loader = ossl_store_get0_loader_int(scheme)) != NULL)
987 OSSL_STORE_LOADER_fetch(libctx, scheme, propq)) != NULL) {
1033 * the scheme cannot be retrieved. But if a loader was successfully