summaryrefslogtreecommitdiff
path: root/p11-kit/p11-kit.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-07-10 14:31:57 +0200
committerStef Walter <stefw@redhat.com>2015-07-14 21:31:34 +0200
commit406803044f61fcbd491749a5530b39beed270dd2 (patch)
tree0625337405b35ccb13b104d2b239865f00d27407 /p11-kit/p11-kit.h
parentcacaf8cd0b0a4f2cd61b61b012cd5cbf715fe38f (diff)
downloadp11-kit-406803044f61fcbd491749a5530b39beed270dd2.tar.gz
Added p11_kit_module_get_filename()
That function allows to obtain the filename used by the PKCS #11 module. That is the filename used by dlopen(). Note that we don't provide p11_kit_module_for_filename() because it would have to deal with filename equivalences. Signed-off-by: Stef Walter <stefw@redhat.com> * Fixed up whitespace
Diffstat (limited to 'p11-kit/p11-kit.h')
-rw-r--r--p11-kit/p11-kit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/p11-kit/p11-kit.h b/p11-kit/p11-kit.h
index f99f7ed..a266c35 100644
--- a/p11-kit/p11-kit.h
+++ b/p11-kit/p11-kit.h
@@ -78,6 +78,7 @@ void p11_kit_modules_finalize_and_release (CK_FUNCTION_LIST **
CK_FUNCTION_LIST * p11_kit_module_for_name (CK_FUNCTION_LIST **modules,
const char *name);
+char * p11_kit_module_get_filename (CK_FUNCTION_LIST *module);
char * p11_kit_module_get_name (CK_FUNCTION_LIST *module);
int p11_kit_module_get_flags (CK_FUNCTION_LIST *module);