1gnutls_priority_set(3)              gnutls              gnutls_priority_set(3)
2
3
4

NAME

6       gnutls_priority_set - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int   gnutls_priority_set(gnutls_session_t  session,  gnutls_priority_t
12       priority);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t type.
17
18       gnutls_priority_t priority
19                   is a gnutls_priority_t type.
20

DESCRIPTION

22       Sets the priorities to use on the ciphers, key  exchange  methods,  and
23       macs.  Note  that  this function is expected to be called once per ses‐
24       sion; when called multiple times  (e.g.,  before  a  re-handshake,  the
25       caller should make sure that any new settings are not incompatible with
26       the original session).
27

RETURNS

29       GNUTLS_E_SUCCESS on success, or an error code on error.
30

REPORTING BUGS

32       Report bugs to <bugs@gnutls.org>.
33       Home page: https://www.gnutls.org
34
35
37       Copyright © 2001-2019 Free Software Foundation, Inc., and others.
38       Copying and distribution of this file, with  or  without  modification,
39       are  permitted  in  any  medium  without royalty provided the copyright
40       notice and this notice are preserved.
41

SEE ALSO

43       The full documentation for gnutls is maintained as  a  Texinfo  manual.
44       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
45       visit
46
47       https://www.gnutls.org/manual/
48
49gnutls                              3.6.11              gnutls_priority_set(3)
Impressum