@deftypefun {size_t} {gnutls_record_check_corked} (gnutls_session_t @var{session})
@var{session}: is a @code{gnutls_session_t} type.
This function checks if there pending corked
data in the gnutls buffers --see @code{gnutls_record_cork()} .
@strong{Returns:} Returns the size of the corked data or zero.
@strong{Since:} 3.2.8
@end deftypefun