1gnutls_compression_set_priority(3)  gnutls  gnutls_compression_set_priority(3)
2
3
4

NAME

6       gnutls_compression_set_priority - API function
7

SYNOPSIS

9       #include <gnutls/compat.h>
10
11       int gnutls_compression_set_priority(gnutls_session_t session, const int
12       * list);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t structure.
17
18       const int * list
19                   is a 0 terminated list of gnutls_compression_method_t  ele‐
20                   ments.
21

DESCRIPTION

23       Sets  the  priority  on the compression algorithms supported by gnutls.
24       Priority is higher for elements specified before others.  After  speci‐
25       fying the algorithms you want, you must append a 0.  Note that the pri‐
26       ority is set on the client. The server does  not  use  the  algorithm's
27       priority except for disabling algorithms that were not specified.
28
29       TLS  1.0  does not define any compression algorithms except NULL. Other
30       compression algorithms are to be considered as gnutls extensions.
31

RETURNS

33       GNUTLS_E_SUCCESS on success, or an error code.
34

REPORTING BUGS

36       Report bugs to <bugs@gnutls.org>.
37       Home page: http://www.gnutls.org
38
39
41       Copyright © 2001-2014 Free Software Foundation, Inc..
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

SEE ALSO

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