summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_x509_tlsfeatures_get
blob: 562867fbb9304060f83c2676dda0b21bb7d07549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@deftypefun {int} {gnutls_x509_tlsfeatures_get} (gnutls_x509_tlsfeatures_t @var{f}, unsigned @var{idx}, unsigned int * @var{feature})
@var{f}: The TLS features

@var{idx}: The index of the feature to get

@var{feature}: If the function succeeds, the feature will be stored in this variable

This function will get a feature from the X.509 TLS features
extension structure.

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

@strong{Since:} 3.5.1
@end deftypefun