aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-12-11 07:02:06 +0100
committerRichard Levitte <levitte@openssl.org>2017-06-29 11:55:32 +0200
commitf91ded1fc40bbe3950ae3e971d4c84a2edf039f8 (patch)
tree0cc97813c1ce54d941eb2560d79b83147454e43c /include
parentd32e10d6fadd39bf01282922a8ed3543173de440 (diff)
downloadopenssl-f91ded1fc40bbe3950ae3e971d4c84a2edf039f8.tar.gz
STORE: add ENGINE information to loaders
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3542)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/store.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/openssl/store.h b/include/openssl/store.h
index 35f62ec9d3..d3947dfc0f 100644
--- a/include/openssl/store.h
+++ b/include/openssl/store.h
@@ -159,7 +159,8 @@ void OSSL_STORE_INFO_free(OSSL_STORE_INFO *info);
*/
typedef struct ossl_store_loader_st OSSL_STORE_LOADER;
-OSSL_STORE_LOADER *OSSL_STORE_LOADER_new(const char *scheme);
+OSSL_STORE_LOADER *OSSL_STORE_LOADER_new(ENGINE *e, const char *scheme);
+const ENGINE *OSSL_STORE_LOADER_get0_engine(const OSSL_STORE_LOADER *loader);
const char *OSSL_STORE_LOADER_get0_scheme(const OSSL_STORE_LOADER *loader);
/* struct ossl_store_loader_ctx_st is defined differently by each loader */
typedef struct ossl_store_loader_ctx_st OSSL_STORE_LOADER_CTX;
@@ -193,6 +194,14 @@ void OSSL_STORE_LOADER_free(OSSL_STORE_LOADER *loader);
int OSSL_STORE_register_loader(OSSL_STORE_LOADER *loader);
OSSL_STORE_LOADER *OSSL_STORE_unregister_loader(const char *scheme);
+/*-
+ * Functions to list STORE loaders
+ * -------------------------------
+ */
+int OSSL_STORE_do_all_loaders(void (*do_function) (const OSSL_STORE_LOADER
+ *loader, void *do_arg),
+ void *do_arg);
+
/*
* Error strings