csv_file Struct Reference


Detailed Description

Structure to implement CSV file handle.

Definition at line 43 of file csvtable.c.


Data Fields

FILE * f
 CSV file.
char * sep
 column separator characters
char * quot
 text quoting characters
int isdos
 true, when DOS format detected
int maxl
 max.
char * line
 line buffer
long pos0
 file position for rewind
int maxc
 max.
int ncols
 number of columns
char ** cols
 column buffer

Field Documentation

FILE* csv_file::f

CSV file.

Definition at line 44 of file csvtable.c.

Referenced by csv_close(), csv_eof(), csv_getline(), csv_open(), csv_rewind(), csv_seek(), and csv_tell().

column separator characters

Definition at line 45 of file csvtable.c.

Referenced by csv_close(), csv_getline(), csv_guess(), csv_import_func(), csv_open(), and csv_vtab_connect().

text quoting characters

Definition at line 46 of file csvtable.c.

Referenced by csv_close(), csv_getline(), csv_guess(), csv_import_func(), csv_open(), and csv_vtab_connect().

true, when DOS format detected

Definition at line 47 of file csvtable.c.

Referenced by csv_getline(), and csv_open().

max.

capacity of line buffer

Definition at line 48 of file csvtable.c.

Referenced by csv_getline(), and csv_open().

line buffer

Definition at line 49 of file csvtable.c.

Referenced by csv_close(), csv_getline(), and csv_open().

file position for rewind

Definition at line 50 of file csvtable.c.

Referenced by csv_guess(), csv_import_func(), csv_open(), csv_rewind(), and csv_vtab_connect().

max.

capacity of column buffer

Definition at line 51 of file csvtable.c.

Referenced by csv_getline(), and csv_open().

number of columns

Definition at line 52 of file csvtable.c.

Referenced by csv_getline(), csv_import_func(), csv_ncols(), csv_open(), and csv_vtab_connect().

column buffer

Definition at line 53 of file csvtable.c.

Referenced by csv_close(), csv_coldata(), csv_getline(), csv_import_func(), csv_ncols(), csv_open(), and csv_vtab_connect().


The documentation for this struct was generated from the following file:

Generated on 9 Dec 2016 by doxygen.
Contact: chw@ch-werner.de