Blame doc/functions/gnutls_est_record_overhead_size
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@deftypefun {size_t} {gnutls_est_record_overhead_size} (gnutls_protocol_t @var{version}, gnutls_cipher_algorithm_t @var{cipher}, gnutls_mac_algorithm_t @var{mac}, gnutls_compression_method_t @var{comp}, unsigned int @var{flags})
|
|
Packit |
aea12f |
@var{version}: is a @code{gnutls_protocol_t} value
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{cipher}: is a @code{gnutls_cipher_algorithm_t} value
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{mac}: is a @code{gnutls_mac_algorithm_t} value
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{comp}: is a @code{gnutls_compression_method_t} value (ignored)
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{flags}: must be zero
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
This function will return the set size in bytes of the overhead
|
|
Packit |
aea12f |
due to TLS (or DTLS) per record.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
Note that this function may provide inacurate values when TLS
|
|
Packit |
aea12f |
extensions that modify the record format are negotiated. In these
|
|
Packit |
aea12f |
cases a more accurate value can be obtained using @code{gnutls_record_overhead_size()}
|
|
Packit |
aea12f |
after a completed handshake.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@strong{Since:} 3.2.2
|
|
Packit |
aea12f |
@end deftypefun
|