From 60fa809ad072f953c097fb8f855bbf4e616c756f Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Sun, 21 Jun 2020 11:30:55 +0200 Subject: s/csv_error/csv_err/ --- csv.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'csv.h') diff --git a/csv.h b/csv.h index a8be413..9fcfa55 100644 --- a/csv.h +++ b/csv.h @@ -14,13 +14,13 @@ typedef enum { CSV_ERR_OUT_OF_RANGE = -2, CSV_ERR_IO_READ = -3, CSV_ERR_IO_WRITE = -4 -} csv_error_t; +} csv_err_t; typedef struct { char quote_symbol; char sep_symbol; - void (*cb_error)(csv_error_t, void *); + void (*cb_error)(csv_err_t, void *); void *cb_error_arg; void *(*cb_allocate)(size_t, size_t, void *); @@ -53,7 +53,7 @@ void csv_cleanup(csv_t *csv); int csv_nfields(csv_t *csv); const char * csv_field(csv_t *csv, int idx); int csv_read(csv_t *csv, FILE *in); -const char * csv_err_str(csv_error_t csv_error); +const char * csv_err_str(csv_err_t csv_err); void csv_write(FILE *out, int n, const char *fields[], const csv_options_t * const csv_options); #ifdef __cplusplus -- cgit v1.3