From 8d8bff0a2edf4659b641dde1333eb6a7c695671c Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Mon, 25 Jun 2018 17:17:41 +0200 Subject: 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. --- p11-kit/proxy.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'p11-kit/proxy.h') 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__ */ -- cgit v1.1