summaryrefslogtreecommitdiff
path: root/src/export.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/export.h')
-rw-r--r--src/export.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/export.h b/src/export.h
index 0a320f8..d440997 100644
--- a/src/export.h
+++ b/src/export.h
@@ -3,12 +3,14 @@
#include "search.h"
#include "platform.h"
-typedef enum ts_export_result {
+typedef enum t_export_result {
EXPORT_NONE,
EXPORT_NO_RESULT,
EXPORT_SEARCH_ACTIVE,
EXPORT_SAVE_PENDING,
} export_result;
+extern export_result last_export_result;
+
bool ts_str_has_extension(const utf8_int8_t *str, const utf8_int8_t *suffix);
export_result ts_export_result(ts_search_result* result, const utf8_int8_t* path); \ No newline at end of file