summaryrefslogtreecommitdiff
path: root/src/export.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/export.h')
-rw-r--r--src/export.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/export.h b/src/export.h
index 1e7f824..ad83c77 100644
--- a/src/export.h
+++ b/src/export.h
@@ -3,4 +3,11 @@
#include "search.h"
#include "platform.h"
-bool ts_export_result(ts_search_result* result, const utf8_int8_t* path); \ No newline at end of file
+typedef enum ts_export_result {
+ EXPORT_NONE,
+ EXPORT_NO_RESULT,
+ EXPORT_SEARCH_ACTIVE,
+ EXPORT_SAVE_PENDING,
+} export_result;
+
+export_result ts_export_result(ts_search_result* result, const utf8_int8_t* path); \ No newline at end of file