From 7f919fc1fd8684000d456ead2e65b3fa19ac0adc Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 30 Oct 2017 18:07:12 +0100 Subject: p11_kit_modules_load*: enhanced documentation on flags Signed-off-by: Nikos Mavrogiannopoulos --- p11-kit/modules.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/p11-kit/modules.c b/p11-kit/modules.c index f1b992a..3b2a949 100644 --- a/p11-kit/modules.c +++ b/p11-kit/modules.c @@ -1971,6 +1971,9 @@ p11_modules_load_inlock_reentrant (int flags, * modules (such as those configured with RPC) cannot be loaded in * unmanaged mode, and will be skipped. * + * If @flags contains the %P11_KIT_MODULE_TRUSTED flag then only the + * marked as trusted modules will be loaded. + * * Use p11_kit_modules_release() to release the modules returned by * this function. * @@ -2103,6 +2106,9 @@ p11_kit_modules_initialize (CK_FUNCTION_LIST **modules, * Use p11_kit_modules_finalize_and_release() when you're done with the * modules returned by this function. * + * The @flags allowed by this function, as well as their meaning, are the + * same as with p11_kit_modules_load(). + * * Returns: a NULL terminated list of modules, or * NULL on failure */ -- cgit v1.1