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