summaryrefslogtreecommitdiff
path: root/src/save.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/save.h')
-rw-r--r--src/save.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/save.h b/src/save.h
new file mode 100644
index 0000000..0772daa
--- /dev/null
+++ b/src/save.h
@@ -0,0 +1,16 @@
+/*
+* BSD 2-Clause “Simplified” License
+* Copyright (c) 2019, Aldrik Ramaekers, aldrik.ramaekers@protonmail.com
+* All rights reserved.
+*/
+
+#ifndef INCLUDE_SAVE
+#define INCLUDE_SAVE
+
+#define SEARCH_RESULT_FILE_EXTENSION "*.json"
+
+bool export_results(search_result *result);
+void import_results_from_file(char *path_buf);
+void import_results();
+
+#endif \ No newline at end of file