doc/functions/gnutls_record_check_pending
raw| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | @deftypefun {size_t} {gnutls_record_check_pending} (gnutls_session_t @var{session}) |
| 6 | @var{session}: is a @code{gnutls_session_t} type. |
| 7 | |
| 8 | This function checks if there are unread data |
| 9 | in the gnutls buffers. If the return value is |
| 10 | non-zero the next call to @code{gnutls_record_recv()} |
| 11 | is guaranteed not to block. |
| 12 | |
| 13 | @strong{Returns:} Returns the size of the data or zero. |
| 14 | @end deftypefun |