pub unsafe extern "C" fn ssl_check_record(
    ssl: *const ssl_context,
    buf: *mut c_uchar,
    buflen: size_t
) -> c_int