aboutsummaryrefslogtreecommitdiff
path: root/csv.h
diff options
context:
space:
mode:
Diffstat (limited to 'csv.h')
-rw-r--r--csv.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/csv.h b/csv.h
index 3a529b7..fe59f5b 100644
--- a/csv.h
+++ b/csv.h
@@ -11,11 +11,14 @@ extern "C" {
11typedef struct { 11typedef struct {
12 char quote_symbol; 12 char quote_symbol;
13 char sep_symbol; 13 char sep_symbol;
14 void *cb_arg; 14
15 void (*cb_error)(const char *, void *); 15 void (*cb_error)(const char *, void *);
16 void *cb_error_arg;
17
16 void *(*cb_allocate)(size_t, size_t, void *); 18 void *(*cb_allocate)(size_t, size_t, void *);
17 void *(*cb_reallocate)(void *, size_t, size_t, void *); 19 void *(*cb_reallocate)(void *, size_t, size_t, void *);
18 void (*cb_free)(void *, size_t sz, void *); 20 void (*cb_free)(void *, size_t sz, void *);
21 void *cb_memory_arg;
19} csv_options_t; 22} csv_options_t;
20 23
21extern const csv_options_t csv_default_options; 24extern const csv_options_t csv_default_options;