Blame doc/functions/gnutls_priority_set
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_priority_set} (gnutls_session_t @var{session}, gnutls_priority_t @var{priority})
|
|
Packit Service |
4684c1 |
@var{session}: is a @code{gnutls_session_t} type.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{priority}: is a @code{gnutls_priority_t} type.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
Sets the priorities to use on the ciphers, key exchange methods,
|
|
Packit Service |
4684c1 |
and macs. Note that this function is expected to be called once
|
|
Packit Service |
4684c1 |
per session; when called multiple times (e.g., before a re-handshake,
|
|
Packit Service |
4684c1 |
the caller should make sure that any new settings are not incompatible
|
|
Packit Service |
4684c1 |
with the original session).
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} @code{GNUTLS_E_SUCCESS} on success, or an error code on error.
|
|
Packit Service |
4684c1 |
@end deftypefun
|