summaryrefslogtreecommitdiff
path: root/src/ccerror.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ccerror.h')
-rwxr-xr-xsrc/ccerror.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ccerror.h b/src/ccerror.h
new file mode 100755
index 0000000..e9d0d6c
--- /dev/null
+++ b/src/ccerror.h
@@ -0,0 +1,14 @@
+#ifndef CC_ERROR_H
+#define CC_ERROR_H
+
+#define CC_ERROR_BASE 500
+#define CC_ERROR_FILE_BASE 100
+#define CC_ERROR_FUNCTION_BASE 20
+#define CC_ERROR_NONE 0
+
+#define CC_ERROR_UTIL_GETCCMODE CC_ERROR_BASE //500
+#define CC_ERROR_UTIL_RESETSBFCCM CC_ERROR_UTIL_GETCCMODE+CC_ERROR_FUNCTION_BASE
+#define CC_ERROR_ZEROISE CC_ERROR_UTIL_GETCCMODE+CC_ERROR_FILE_BASE
+#define CC_ERROR_VERIFY 100 //100
+
+#endif