Blame doc/functions/gnutls_priority_set_direct

Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
@deftypefun {int} {gnutls_priority_set_direct} (gnutls_session_t @var{session}, const char * @var{priorities}, const char ** @var{err_pos})
Packit aea12f
@var{session}: is a @code{gnutls_session_t}  type.
Packit aea12f
Packit aea12f
@var{priorities}: is a string describing priorities
Packit aea12f
Packit aea12f
@var{err_pos}: In case of an error this will have the position in the string the error occurred
Packit aea12f
Packit aea12f
Sets the priorities to use on the ciphers, key exchange methods,
Packit aea12f
and macs.  This function avoids keeping a
Packit aea12f
priority cache and is used to directly set string priorities to a
Packit aea12f
TLS session.  For documentation check the @code{gnutls_priority_init()} .
Packit aea12f
Packit aea12f
To use a reasonable default, consider using @code{gnutls_set_default_priority()} ,
Packit aea12f
or @code{gnutls_set_default_priority_append()}  instead of this function.
Packit aea12f
Packit aea12f
@strong{Returns:} On syntax error @code{GNUTLS_E_INVALID_REQUEST}  is returned,
Packit aea12f
@code{GNUTLS_E_SUCCESS}  on success, or an error code.
Packit aea12f
@end deftypefun