[][src]Function spatialite_sys::gaiaAddDbfField

pub unsafe extern "C" fn gaiaAddDbfField(
    list: gaiaDbfListPtr,
    name: *mut c_char,
    type_: c_uchar,
    offset: c_int,
    length: c_uchar,
    decimals: c_uchar
) -> gaiaDbfFieldPtr

Inserts a further DBF Field object into a DBF List object

\param list pointer to the DBF List object. \param name text string: DBF Field name. \param type identifier of the corresponding DBF data type. \param offset corresponding offset into the DBF I/O buffer. \param length max field length (in bytes). \param decimals precision: number of decimal digits.

\return the pointer to newly created DBF Field object.

\sa gaiaAllocDbfField

\note supported DBF data types are: \li 'C' text string [default] \li 'N' numeric \li 'D' date \li 'L' boolean