[][src]Function spatialite_sys::load_dbf_ex

pub unsafe extern "C" fn load_dbf_ex(
    sqlite: *mut sqlite3,
    dbf_path: *mut c_char,
    table: *mut c_char,
    pk_column: *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 pk_column name of the Primary Key column; if NULL or mismatching then "PK_UID" will be assumed by default. \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, load_dbf_ex2

\return 0 on failure, any other value on success