1gnutls_anti_replay_set_add_function(3g)nutlgsnutls_anti_replay_set_add_function(3)
2
3
4

NAME

6       gnutls_anti_replay_set_add_function - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       void           gnutls_anti_replay_set_add_function(gnutls_anti_replay_t
12       anti_replay, gnutls_db_add_func add_func);
13

ARGUMENTS

15       gnutls_anti_replay_t anti_replay
16                   is a gnutls_anti_replay_t type.
17
18       gnutls_db_add_func add_func
19                   is the function.
20

DESCRIPTION

22       Sets the function that will be used to store an  entry  if  it  is  not
23       already  present  in  the  resumed  sessions  database.   This function
24       returns 0 if the entry is successfully stored,  and  a  negative  error
25       code  otherwise.  In particular, if the entry is found in the database,
26       it returns GNUTLS_E_DB_ENTRY_EXISTS.
27
28       The arguments to the   add_func  are:  -  ptr:  the  pointer  set  with
29       gnutls_anti_replay_set_ptr()  -  exp_time:  the  expiration time of the
30       entry - key: a pointer to the key - data: a pointer to data to store
31
32       The   data   set   by   this   function   can   be    examined    using
33       gnutls_db_check_entry_expire_time() and gnutls_db_check_entry_time().
34

SINCE

36       3.6.5
37

REPORTING BUGS

39       Report bugs to <bugs@gnutls.org>.
40       Home page: https://www.gnutls.org
41
42
44       Copyright © 2001-2019 Free Software Foundation, Inc., and others.
45       Copying  and  distribution  of this file, with or without modification,
46       are permitted in any medium  without  royalty  provided  the  copyright
47       notice and this notice are preserved.
48

SEE ALSO

50       The  full  documentation  for gnutls is maintained as a Texinfo manual.
51       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
52       visit
53
54       https://www.gnutls.org/manual/
55
56gnutls                               3.6.g7nutls_anti_replay_set_add_function(3)
Impressum