summaryrefslogtreecommitdiffstats
path: root/core/import-csv.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/import-csv.h')
-rw-r--r--core/import-csv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/import-csv.h b/core/import-csv.h
index bfaf7fe38..1f1d330e7 100644
--- a/core/import-csv.h
+++ b/core/import-csv.h
@@ -17,6 +17,10 @@ enum csv_format {
#define MAXCOLDIGITS 10
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int parse_csv_file(const char *filename, char **params, int pnr, const char *csvtemplate);
int try_to_open_csv(struct memblock *mem, enum csv_format type);
int parse_txt_file(const char *filename, const char *csv);
@@ -24,4 +28,8 @@ int parse_txt_file(const char *filename, const char *csv);
int parse_seabear_log(const char *filename);
int parse_manual_file(const char *filename, char **params, int pnr);
+#ifdef __cplusplus
+}
+#endif
+
#endif // IMPORTCSV_H