summaryrefslogtreecommitdiff
path: root/p11-kit/proxy.h
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2018-06-25 17:17:41 +0200
committerDaiki Ueno <ueno@gnu.org>2018-07-16 16:19:42 +0200
commit8d8bff0a2edf4659b641dde1333eb6a7c695671c (patch)
tree5b93aa0460e3b6acefa4ff50f681243637e34e9a /p11-kit/proxy.h
parenta65696b3e79acb602bd0c000f8524d3cc8998187 (diff)
proxy: Allow proxy to be created from the library
Previously, to aggregate multiple modules into one, there was no other way than loading the proxy module. From the p11-kit applications, however, it is not possible to load that module because of the recursive loading check (p11_proxy_module_check). This patch adds another means to aggregate modules, through a library function p11_proxy_module_create.
Diffstat (limited to 'p11-kit/proxy.h')
-rw-r--r--p11-kit/proxy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/p11-kit/proxy.h b/p11-kit/proxy.h
index f3d56d7..81926bd 100644
--- a/p11-kit/proxy.h
+++ b/p11-kit/proxy.h
@@ -39,5 +39,8 @@ bool p11_proxy_module_check (CK_FUNCTION_LIST_PTR modul
void p11_proxy_module_cleanup (void);
+CK_RV p11_proxy_module_create (CK_FUNCTION_LIST_PTR *module,
+ CK_FUNCTION_LIST_PTR *modules);
+
#endif /* __P11_PROXY_H__ */