1gnutls_set_default_priority(3) gnutls gnutls_set_default_priority(3)
2
3
4
6 gnutls_set_default_priority - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_set_default_priority(gnutls_session_t session);
12
14 gnutls_session_t session
15 is a gnutls_session_t structure.
16
18 Sets the default priority on the ciphers, key exchange methods, macs
19 and compression methods. For more fine-tuning you could use gnutls_pri‐
20 ority_set_direct() or gnutls_priority_set() instead.
21
23 GNUTLS_E_SUCCESS on success, or an error code.
24
26 Report bugs to <bugs@gnutls.org>.
27 Home page: http://www.gnutls.org
28
29
31 Copyright © 2001-2014 Free Software Foundation, Inc..
32 Copying and distribution of this file, with or without modification,
33 are permitted in any medium without royalty provided the copyright
34 notice and this notice are preserved.
35
37 The full documentation for gnutls is maintained as a Texinfo manual.
38 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
39 visit
40
41 http://www.gnutls.org/manual/
42
43gnutls 3.3.29 gnutls_set_default_priority(3)