glider/utils/mxc_waveform_asm/csv.h
2024-05-14 18:32:10 -04:00

12 lines
338 B
C

#ifndef CSV_DOT_H_INCLUDE_GUARD
#define CSV_DOT_H_INCLUDE_GUARD
#define CSV_ERR_LONGLINE 0
#define CSV_ERR_NO_MEMORY 1
char **parse_csv( const char *line );
void free_csv_line( char **parsed );
char **split_on_unescaped_newlines(const char *txt);
char *fread_csv_line(FILE *fp, int max_line_size, int *done, int *err, int rst);
#endif