1gnutls_anti_replay_init(3) gnutls gnutls_anti_replay_init(3)
2
3
4
6 gnutls_anti_replay_init - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_anti_replay_init(gnutls_anti_replay_t * anti_replay);
12
14 gnutls_anti_replay_t * anti_replay
15 is a pointer to gnutls_anti_replay_t type
16
18 This function will allocate and initialize the anti_replay context to
19 be usable for detect replay attacks. The context can then be attached
20 to a gnutls_session_t with gnutls_anti_replay_enable().
21
23 Zero or a negative error code on error.
24
26 3.6.5
27
29 Report bugs to <bugs@gnutls.org>.
30 Home page: https://www.gnutls.org
31
32
34 Copyright © 2001-2020 Free Software Foundation, Inc., and others.
35 Copying and distribution of this file, with or without modification,
36 are permitted in any medium without royalty provided the copyright
37 notice and this notice are preserved.
38
40 The full documentation for gnutls is maintained as a Texinfo manual.
41 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
42 visit
43
44 https://www.gnutls.org/manual/
45
46gnutls 3.6.13 gnutls_anti_replay_init(3)