1gnutls_db_check_entry(3)            gnutls            gnutls_db_check_entry(3)
2
3
4

NAME

6       gnutls_db_check_entry - check if the given db entry has expired
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int gnutls_db_check_entry(gnutls_session_t session, gnutls_datum_t ses‐
12       sion_entry);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t structure.
17
18       gnutls_datum_t session_entry
19                   is the session data (not key)
20

DESCRIPTION

22       Check if database entry has expired.  This function is to be used  when
23       you  want to clear unnesessary session which occupy space in your back‐
24       end.
25

RETURNS

27       Returns GNUTLS_E_EXPIRED, if the database entry has expired or 0 other‐
28       wise.
29

REPORTING BUGS

31       Report    bugs    to    <bug-gnutls@gnu.org>.     GnuTLS   home   page:
32       http://www.gnu.org/software/gnutls/ General help  using  GNU  software:
33       http://www.gnu.org/gethelp/
34
36       Copyright © 2008 Free Software Foundation.
37       Copying  and  distribution  of this file, with or without modification,
38       are permitted in any medium  without  royalty  provided  the  copyright
39       notice and this notice are preserved.
40

SEE ALSO

42       The  full  documentation  for gnutls is maintained as a Texinfo manual.
43       If the info and gnutls programs are properly installed  at  your  site,
44       the command
45
46              info gnutls
47
48       should give you access to the complete manual.
49
50
51
52gnutls                               2.8.6            gnutls_db_check_entry(3)
Impressum