[][src]Function spatialite_sys::load_dbf

pub unsafe extern "C" fn load_dbf(
    sqlite: *mut sqlite3,
    dbf_path: *mut c_char,
    table: *mut c_char,
    charset: *mut c_char,
    verbose: c_int,
    rows: *mut c_int,
    err_msg: *mut c_char
) -> c_int

Loads an external DBF file into a newly created table

\param sqlite handle to current DB connection \param dbf_path pathname of the DBF file to be imported \param table the name of the table to be created \param charset a valid GNU ICONV charset to be used for DBF text strings \param verbose if TRUE a short report is shown on stderr \param rows on completion will contain the total number of actually exported rows \param err_msg on completion will contain an error message (if any)

\sa load_dbf_ex, load_dbf_ex2

\note this function simply calls load_dbf_ex by passing an implicit pk_column=NULL argument

\return 0 on failure, any other value on success