Function bearssl::br_ssl_engine_sendrec_buf [] [src]

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

\brief Get buffer for record data to send.

If the engine has prepared some records to send to the peer, then this call returns a pointer to the buffer from where such data shall be read, 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 output buffer length, or 0. \return the record data output buffer, or NULL.