| 82 | } |
| 83 | |
| 84 | const char *csv_strerror(int status) { |
| 85 | /* Return a textual description of status */ |
| 86 | if (status >= CSV_EINVALID || status < 0) |
| 87 | return csv_errors[CSV_EINVALID]; |
| 88 | else |
| 89 | return csv_errors[status]; |
| 90 | } |
| 91 | |
| 92 | int csv_get_opts(struct csv_parser *p) { |
| 93 | /* Return the currently set options of parser */ |