



@deftypefun {int} {gnutls_priority_set} (gnutls_session_t @var{session}, gnutls_priority_t @var{priority})
@var{session}: is a @code{gnutls_session_t}  type.

@var{priority}: is a @code{gnutls_priority_t}  type.

Sets the priorities to use on the ciphers, key exchange methods,
macs and compression methods.

@strong{Returns:} @code{GNUTLS_E_SUCCESS}  on success, or an error code.
@end deftypefun
