[][src]Crate cqdb_sys

Structs

tag_cqdb

\addtogroup cqdb_reader CQDB Reader API @{

tag_cqdb_writer

CQDB status codes. \addtogroup cqdb_writer CQDB Writer API @{

Constants

CQDB_ERROR

< Unspecified error.

CQDB_ERROR_FILESEEK

< Error in fseek() operations.

CQDB_ERROR_FILETELL

< Error in ftell() operations.

CQDB_ERROR_FILEWRITE

< Error in fwrite() operations.

CQDB_ERROR_INVALIDID

< Invalid parameters.

CQDB_ERROR_NOTFOUND

< String not found.

CQDB_ERROR_OCCURRED

< An error has occurred.

CQDB_ERROR_OUTOFMEMORY

< Insufficient memory.

CQDB_NONE

< No flag.

CQDB_ONEWAY

< A reverse lookup array is omitted.

CQDB_SUCCESS

CQDB flags. < Success.

Functions

cqdb_delete

Delete the CQDB reader.

cqdb_num

Get the number of associations in the database.

cqdb_reader

Open a new CQDB reader on a memory block.

cqdb_to_id

Retrieve the identifier associated with a string.

cqdb_to_string

Retrieve the string associated with an identifier.

cqdb_writer

Create a new CQDB writer on a seekable stream.

cqdb_writer_close

Close a CQDB writer.

cqdb_writer_put

Put a string/identifier association to the database.

Type Definitions

cqdb_t
cqdb_writer_t