summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_protocol_list
blob: 31b2ddf2a99a7973730bc1d7bfe3feb2caa60e63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@deftypefun {const gnutls_protocol_t *} {gnutls_protocol_list} ( @var{void})

Get a list of supported protocols, e.g. SSL 3.0, TLS 1.0 etc.

This function is not thread safe.

@strong{Returns:} a (0)-terminated list of @code{gnutls_protocol_t}  integers
indicating the available protocols.
@end deftypefun