diff options
| author | Garden <gardendistrict0x0@outlook.com> | 2025-12-18 21:15:15 +1100 |
|---|---|---|
| committer | Garden <gardendistrict0x0@outlook.com> | 2025-12-18 21:15:15 +1100 |
| commit | 3c6ae042158df0236a8f9ccdaddb69a89ba66d57 (patch) | |
| tree | a6d9333ec3f1738d51eedc72ceb8c916709ad691 /include/tinyff/result.h | |
| parent | a65f99a64e1937411a9268213c55f1b030df7af5 (diff) | |
feat: Add result enum
Diffstat (limited to 'include/tinyff/result.h')
| -rw-r--r-- | include/tinyff/result.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/tinyff/result.h b/include/tinyff/result.h new file mode 100644 index 0000000..a837c66 --- /dev/null +++ b/include/tinyff/result.h @@ -0,0 +1,12 @@ +#ifndef RESULT_H +#define RESULT_H + +typedef enum { + FF_RESULT_OK = 0, + FF_RESULT_ERROR_INVALID_FILE_SIGNITURE, + FF_RESULT_ERROR_INVALID_FILE, + + // More will be created when more errors occur +} ff_result; + +#endif
\ No newline at end of file |
