summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_anti_replay_init
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_anti_replay_init')
-rw-r--r--doc/functions/gnutls_anti_replay_init16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/functions/gnutls_anti_replay_init b/doc/functions/gnutls_anti_replay_init
new file mode 100644
index 0000000..ac3e051
--- /dev/null
+++ b/doc/functions/gnutls_anti_replay_init
@@ -0,0 +1,16 @@
+
+
+
+
+@deftypefun {int} {gnutls_anti_replay_init} (gnutls_anti_replay_t * @var{anti_replay})
+@var{anti_replay}: is a pointer to @code{gnutls_anti_replay_t} type
+
+This function will allocate and initialize the @code{anti_replay} context
+to be usable for detect replay attacks. The context can then be
+attached to a @code{gnutls_session_t} with
+@code{gnutls_anti_replay_enable()} .
+
+@strong{Returns:} Zero or a negative error code on error.
+
+@strong{Since:} 3.6.5
+@end deftypefun