diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-03-15 19:42:17 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-03-15 19:42:17 +0100 |
| commit | 6aff2a945f45d5d4a755a2977ef483dd3e8987ff (patch) | |
| tree | 7e195acb7c4544358f20befced84be776a0a1695 /src/import.h | |
| parent | 9dae91f1993c563cf97a87b84836dc3b6306714a (diff) | |
import error handling
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 |
