summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGarden <gardendistrict0x0@outlook.com>2025-12-18 21:15:15 +1100
committerGarden <gardendistrict0x0@outlook.com>2025-12-18 21:15:15 +1100
commit3c6ae042158df0236a8f9ccdaddb69a89ba66d57 (patch)
treea6d9333ec3f1738d51eedc72ceb8c916709ad691 /include
parenta65f99a64e1937411a9268213c55f1b030df7af5 (diff)
feat: Add result enum
Diffstat (limited to 'include')
-rw-r--r--include/tinyff/result.h12
-rw-r--r--include/tinyff/tinyff.h1
2 files changed, 13 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
diff --git a/include/tinyff/tinyff.h b/include/tinyff/tinyff.h
new file mode 100644
index 0000000..48c4bbf
--- /dev/null
+++ b/include/tinyff/tinyff.h
@@ -0,0 +1 @@
+// TODO: Include all formats \ No newline at end of file