]> granicus.if.org Git - p11-kit/commitdiff
p11_kit_modules_load*: enhanced documentation on flags
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 30 Oct 2017 17:07:12 +0000 (18:07 +0100)
committerDaiki Ueno <ueno@gnu.org>
Tue, 31 Oct 2017 06:36:17 +0000 (07:36 +0100)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
p11-kit/modules.c

index f1b992aab08e715511155a7cb934a10769a3d533..3b2a949ae78524dd4594878938eec6ce90275db9 100644 (file)
@@ -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
  */