Data Fields

csv_file Struct Reference

Structure to implement CSV file handle. More...

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

Detailed Description

Structure to implement CSV file handle.

Definition at line 43 of file csvtable.c.


Field Documentation

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().

true, when DOS format detected

Definition at line 47 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().

max.

capacity of column buffer

Definition at line 51 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().

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().

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().

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().

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().


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

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