Function gaiaReadDbfEntity

Source
pub unsafe extern "C" fn gaiaReadDbfEntity(
    dbf: gaiaDbfPtr,
    current_row: c_int,
    deleted: *mut c_int,
) -> c_int
Expand description

Reads a record from a DBF File object

\param dbf pointer to the DBF File object. \param current_row the row number identifying the record to be read. \param deleted on completion this variable will contain 0 if the record just read is valid: any other value if the record just read is marked as \e logically \e deleted.

\return 0 on failure: any other value on success.

\sa gaiaAllocDbf, gaiaFreeDbf, gaiaOpenDbfRead, gaiaOpenDbfWrite, gaiaFlushDbfHeader

\note on completion the DBF File \e First member will point to the linked list containing the corresponding data attributes [both data formats and values].

\remark the DBF File object should be opened in \e read mode.