summaryrefslogtreecommitdiff
path: root/src/save.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-01-30 21:11:12 +0100
committerAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-01-30 21:11:12 +0100
commit260f05025631031b7cc4904805d5017feaf53eda (patch)
treed5a723bb7bbbc9f8b598712723fe3d8290c0a54c /src/save.h
initial commit
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