]>
git.datanom.net - lensdb.git/blob - src/csv.h
4 * Copyright 2024 Michael Rasmussen <mir@datanom.net>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
37 typedef struct _CsvParser CsvParser
;
50 bool first_line_header
;
59 CsvParser
* csv_parser_new(Instructions
* instructions
, CvsError
** error
);
60 Record
* csv_parser_next_line(CsvParser
* parser
, CvsError
** error
);
61 bool csv_parser_dump_row(CsvParser
* parser
, const Record
* row
, CvsError
** error
);
62 void csv_parser_free(CsvParser
* parser
);
63 CvsError
* csv_error_new();
64 void csv_error_free(CvsError
* error
);
65 void csv_error_clear(CvsError
** error
);
66 void csv_record_print(Record
* r
);
67 void csv_record_free(Record
* r
);
This page took 0.607026 seconds and 6 git commands to generate.