Debian Codegraph @

doc/functions/gnutls_certificate_set_trust_list

raw
1
2
3
4
5 @deftypefun {void} {gnutls_certificate_set_trust_list} (gnutls_certificate_credentials_t @var{res}, gnutls_x509_trust_list_t @var{tlist}, unsigned @var{flags})
6 @var{res}: is a @code{gnutls_certificate_credentials_t} type.
7
8 @var{tlist}: is a @code{gnutls_x509_trust_list_t} type
9
10 @var{flags}: must be zero
11
12 This function sets a trust list in the gnutls_certificate_credentials_t type.
13
14 Note that the @code{tlist} will become part of the credentials
15 structure and must not be deallocated. It will be automatically deallocated
16 when the @code{res} structure is deinitialized.
17
18 @strong{Since:} 3.2.2
19 @end deftypefun