1gnutls_protocol_set_priority(3) gnutls gnutls_protocol_set_priority(3)
2
3
4
6 gnutls_protocol_set_priority - Sets the priority on the protocol ver‐
7 sions supported by gnutls.
8
10 #include <gnutls/gnutls.h>
11
12 int gnutls_protocol_set_priority(gnutls_session_t session, const int *
13 list);
14
16 gnutls_session_t session
17 is a gnutls_session_t structure.
18
19 const int * list
20 is a 0 terminated list of gnutls_protocol_t elements.
21
23 Sets the priority on the protocol versions supported by gnutls. This
24 function actually enables or disables protocols. Newer protocol ver‐
25 sions always have highest priority.
26
27 Returns 0 on success.
28
30 Report bugs to <bug-gnutls@gnu.org>.
31
33 Copyright © 2006 Free Software Foundation.
34 Permission is granted to make and distribute verbatim copies of this
35 manual provided the copyright notice and this permission notice are
36 preserved on all copies.
37
39 The full documentation for gnutls is maintained as a Texinfo manual.
40 If the info and gnutls programs are properly installed at your site,
41 the command
42
43 info gnutls
44
45 should give you access to the complete manual.
46
47
48
49gnutls 1.6.3 gnutls_protocol_set_priority(3)