[][src]Function cqdb_sys::cqdb_reader

pub unsafe extern "C" fn cqdb_reader(
    buffer: *const c_void,
    size: usize
) -> *mut cqdb_t

Open a new CQDB reader on a memory block.

This function initializes a database on a memory block and returns the pointer to a ::cqdb_t instance to access the database.

@param buffer The pointer to the memory block. @param size The size of the memory block. @retval cqdb_t* The pointer to the ::cqdb_t instance.