Blame doc/functions/gnutls_tdb_set_store_commitment_func
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {void} {gnutls_tdb_set_store_commitment_func} (gnutls_tdb_t @var{tdb}, gnutls_tdb_store_commitment_func @var{cstore})
|
|
Packit Service |
4684c1 |
@var{tdb}: The trust storage
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{cstore}: The commitment storage function
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will associate a commitment (hash) storage function with the
|
|
Packit Service |
4684c1 |
trust storage structure. The function is of the following form.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
int gnutls_tdb_store_commitment_func(const char* db_name, const char* host,
|
|
Packit Service |
4684c1 |
const char* service, time_t expiration,
|
|
Packit Service |
4684c1 |
gnutls_digest_algorithm_t, const gnutls_datum_t* hash);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
The @code{db_name} should be used to pass any private data to this function.
|
|
Packit Service |
4684c1 |
@end deftypefun
|