1gnutls_db_check_entry(3) gnutls gnutls_db_check_entry(3)
2
3
4
6 gnutls_db_check_entry - checks if the given db entry has expired
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_db_check_entry(gnutls_session_t session, gnutls_datum_t ses‐
12 sion_entry);
13
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
22 This function returns GNUTLS_E_EXPIRED, if the database entry has
23 expired or 0 otherwise. This function is to be used when you want to
24 clear unnesessary session which occupy space in your backend.
25
27 Report bugs to <bug-gnutls@gnu.org>.
28
30 Copyright © 2006 Free Software Foundation.
31 Permission is granted to make and distribute verbatim copies of this
32 manual provided the copyright notice and this permission notice are
33 preserved on all copies.
34
36 The full documentation for gnutls is maintained as a Texinfo manual.
37 If the info and gnutls programs are properly installed at your site,
38 the command
39
40 info gnutls
41
42 should give you access to the complete manual.
43
44
45
46gnutls 1.6.3 gnutls_db_check_entry(3)