diff options
Diffstat (limited to 'src/import.h')
| -rw-r--r-- | src/import.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/import.h b/src/import.h index 979cf84..a3fedf9 100644 --- a/src/import.h +++ b/src/import.h @@ -2,4 +2,13 @@ #include "search.h" +typedef enum t_import_result { + IMPORT_NONE, + IMPORT_INVALID_DATA, + IMPORT_INVALID_VERSION, + IMPORT_FILE_ERROR, +} import_result; + +extern import_result last_import_result; + ts_search_result* ts_import_result(const utf8_int8_t* path);
\ No newline at end of file |
