Function bearssl::br_ssl_engine_recvrec_buf [] [src]

pub unsafe extern "C" fn br_ssl_engine_recvrec_buf(
    cc: *const br_ssl_engine_context,
    len: *mut usize
) -> *mut c_uchar

\brief Get buffer for incoming records.

If the engine is ready to accept records from the peer, then this call returns a pointer to the buffer where such data shall be written, and its length is written in *len. Otherwise, *len is set to 0 and NULL is returned.

\param cc SSL engine context. \param len receives the record data input buffer length, or 0. \return the record data input buffer, or NULL.