1gnutls_priority_set_direct(3)       gnutls       gnutls_priority_set_direct(3)
2
3
4

NAME

6       gnutls_priority_set_direct - API function
7

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

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
31       To    simply    use    a    reasonable    default,    consider    using
32       gnutls_set_default_priority().
33

RETURNS

35       On  syntax error GNUTLS_E_INVALID_REQUEST is returned, GNUTLS_E_SUCCESS
36       on success, or an error code.
37

REPORTING BUGS

39       Report bugs to <bugs@gnutls.org>.
40       Home page: http://www.gnutls.org
41
42
44       Copyright © 2001-2014 Free Software Foundation, Inc..
45       Copying and distribution of this file, with  or  without  modification,
46       are  permitted  in  any  medium  without royalty provided the copyright
47       notice and this notice are preserved.
48

SEE ALSO

50       The full documentation for gnutls is maintained as  a  Texinfo  manual.
51       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
52       visit
53
54       http://www.gnutls.org/manual/
55
56gnutls                              3.3.29       gnutls_priority_set_direct(3)
Impressum