1gnutls_priority_init(3)             gnutls             gnutls_priority_init(3)
2
3
4

NAME

6       gnutls_priority_init - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int gnutls_priority_init(gnutls_priority_t * priority_cache, const char
12       * priorities, const char ** err_pos);
13

ARGUMENTS

15       gnutls_priority_t * priority_cache
16                   is a gnutls_priority_t type.
17
18       const char * priorities
19                   is a string describing priorities (may be NULL)
20
21       const char ** err_pos
22                   In case of an error this will  have  the  position  in  the
23                   string the error occurred
24

DESCRIPTION

26       For  applications that do not modify their crypto settings per release,
27       consider    using    gnutls_priority_init2()     with     GNUTLS_PRIOR‐
28       ITY_INIT_DEF_APPEND  flag instead. We suggest to use centralized crypto
29       settings handled by the GnuTLS library, and applications modifying  the
30       default settings to their needs.
31
32       This function is identical to gnutls_priority_init2() with zero flags.
33
34       A  NULL   priorities string indicates the default priorities to be used
35       (this is available since GnuTLS 3.3.0).
36

RETURNS

38       On syntax error GNUTLS_E_INVALID_REQUEST is returned,  GNUTLS_E_SUCCESS
39       on success, or an error code.
40

REPORTING BUGS

42       Report bugs to <bugs@gnutls.org>.
43       Home page: https://www.gnutls.org
44
45
47       Copyright © 2001- Free Software Foundation, Inc., and others.
48       Copying  and  distribution  of this file, with or without modification,
49       are permitted in any medium without royalty provided the copyright  no‐
50       tice and this notice are preserved.
51

SEE ALSO

53       The  full  documentation  for gnutls is maintained as a Texinfo manual.
54       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
55       visit
56
57       https://www.gnutls.org/manual/
58
59gnutls                               3.7.8             gnutls_priority_init(3)
Impressum