1gnutls_priority_set_direct(3) gnutls gnutls_priority_set_direct(3)
2
3
4
6 gnutls_priority_set_direct - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_priority_set_direct(gnutls_session_t session, const char *
12 priorities, const char ** err_pos);
13
15 gnutls_session_t session
16 is a gnutls_session_t structure.
17
18 const char * priorities
19 is a string describing priorities
20
21 const char ** err_pos
22 In case of an error this will have the position in the
23 string the error occured
24
26 Sets the priorities to use on the ciphers, key exchange methods, macs
27 and compression methods. This function avoids keeping a priority cache
28 and is used to directly set string priorities to a TLS session. For
29 documentation check the gnutls_priority_init().
30
32 On syntax error GNUTLS_E_INVALID_REQUEST is returned, GNUTLS_E_SUCCESS
33 on success, or an error code.
34
36 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
37 http://www.gnu.org/software/gnutls/ General help using GNU software:
38 http://www.gnu.org/gethelp/
39
41 Copyright © 2008 Free Software Foundation.
42 Copying and distribution of this file, with or without modification,
43 are permitted in any medium without royalty provided the copyright
44 notice and this notice are preserved.
45
47 The full documentation for gnutls is maintained as a Texinfo manual.
48 If the info and gnutls programs are properly installed at your site,
49 the command
50
51 info gnutls
52
53 should give you access to the complete manual.
54
55
56
57gnutls 2.12.6.1 gnutls_priority_set_direct(3)