diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-10-30 18:07:12 +0100 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2017-10-31 07:36:17 +0100 |
commit | 7f919fc1fd8684000d456ead2e65b3fa19ac0adc (patch) | |
tree | 2ffacc350de1961a58af6d3002efbdc3cf72ac0f | |
parent | 29b8197e879dc8be8e356f57e6a3a501cdf657f9 (diff) |
p11_kit_modules_load*: enhanced documentation on flags
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r-- | p11-kit/modules.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 <literal>NULL</literal> terminated list of modules, or * <literal>NULL</literal> on failure */ |