summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_pkcs11_reinit
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_pkcs11_reinit')
-rw-r--r--doc/functions/gnutls_pkcs11_reinit18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/functions/gnutls_pkcs11_reinit b/doc/functions/gnutls_pkcs11_reinit
new file mode 100644
index 0000000..d60a5f7
--- /dev/null
+++ b/doc/functions/gnutls_pkcs11_reinit
@@ -0,0 +1,18 @@
+
+
+
+
+@deftypefun {int} {gnutls_pkcs11_reinit} ( @var{void})
+
+This function will reinitialize the PKCS 11 subsystem in gnutls.
+This is required by PKCS 11 when an application uses @code{fork()} . The
+reinitialization function must be called on the child.
+
+Note that since GnuTLS 3.3.0, the reinitialization of the PKCS @code{11}
+subsystem occurs automatically after fork.
+
+@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
+negative error value.
+
+@strong{Since:} 3.0
+@end deftypefun