Structure to implement CSV file handle. More...
Data Fields | |
| FILE * | f |
| CSV file. More... | |
| char * | sep |
| column separator characters More... | |
| char * | quot |
| text quoting characters More... | |
| int | isdos |
| true, when DOS format detected More... | |
| int | maxl |
| max. More... | |
| char * | line |
| line buffer More... | |
| long | pos0 |
| file position for rewind More... | |
| int | maxc |
| max. More... | |
| int | ncols |
| number of columns More... | |
| char ** | cols |
| column buffer More... | |
Structure to implement CSV file handle.
Definition at line 43 of file csvtable.c.
| char** csv_file::cols |
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().
| 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().
| int csv_file::isdos |
true, when DOS format detected
Definition at line 47 of file csvtable.c.
Referenced by csv_getline(), and csv_open().
| char* csv_file::line |
line buffer
Definition at line 49 of file csvtable.c.
Referenced by csv_close(), csv_getline(), and csv_open().
| int csv_file::maxc |
max.
capacity of column buffer
Definition at line 51 of file csvtable.c.
Referenced by csv_getline(), and csv_open().
| int csv_file::maxl |
max.
capacity of line buffer
Definition at line 48 of file csvtable.c.
Referenced by csv_getline(), and csv_open().
| int csv_file::ncols |
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().
| long csv_file::pos0 |
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().
| char* csv_file::quot |
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().
| char* csv_file::sep |
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().