1gnutls_tdb_set_store_func(3) gnutls gnutls_tdb_set_store_func(3)
2
3
4
6 gnutls_tdb_set_store_func - API function
7
9 #include <gnutls/gnutls.h>
10
11 void gnutls_tdb_set_store_func(gnutls_tdb_t tdb, gnutls_tdb_store_func
12 store);
13
15 gnutls_tdb_t tdb
16 The trust storage
17
18 gnutls_tdb_store_func store
19 The storage function
20
22 This function will associate a storage function with the trust storage
23 structure. The function is of the following form.
24
25 int gnutls_tdb_store_func(const char* db_name, const char* host, const
26 char* service, time_t expiration, const gnutls_datum_t* pubkey);
27
28 The db_name should be used to pass any private data to this function.
29
31 Report bugs to <bugs@gnutls.org>.
32 Home page: https://www.gnutls.org
33
34
36 Copyright © 2001-2023 Free Software Foundation, Inc., and others.
37 Copying and distribution of this file, with or without modification,
38 are permitted in any medium without royalty provided the copyright no‐
39 tice and this notice are preserved.
40
42 The full documentation for gnutls is maintained as a Texinfo manual.
43 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
44 visit
45
46 https://www.gnutls.org/manual/
47
48gnutls 3.8.2 gnutls_tdb_set_store_func(3)