summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_x509_policies_set
blob: 7d05085c0fcda1d6ed502bbd00b74f45f7f4f13c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@deftypefun {int} {gnutls_x509_policies_set} (gnutls_x509_policies_t @var{policies}, const struct gnutls_x509_policy_st * @var{policy})
@var{policies}: An initialized policies

@var{policy}: Contains the policy to set

This function will store the specified policy in
the provided  @code{policies} .

@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0), otherwise a negative error value.

@strong{Since:} 3.3.0
@end deftypefun