summaryrefslogtreecommitdiff
path: root/source/kit/status.h
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-07-14 21:12:37 +0200
committerMitya Selivanov <automainint@guattari.tech>2024-07-14 21:12:37 +0200
commit30740ca4131d1f574718262451b4410207dc8d4e (patch)
treefc88b16a216079397ad85b9c6b1a1c1c5712a814 /source/kit/status.h
parent5e3c99bb1cf1d03ea006300121265571f5008fd2 (diff)
downloadsaw-30740ca4131d1f574718262451b4410207dc8d4e.zip
Reworking the build system
Diffstat (limited to 'source/kit/status.h')
-rw-r--r--source/kit/status.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/source/kit/status.h b/source/kit/status.h
deleted file mode 100644
index 88eb5e0..0000000
--- a/source/kit/status.h
+++ /dev/null
@@ -1,43 +0,0 @@
-#ifndef KIT_STATUS_H
-#define KIT_STATUS_H
-
-#ifndef _GNU_SOURCE
-# define _GNU_SOURCE
-#endif
-
-enum {
- KIT_OK = 0,
- KIT_PARSING_FAILED = 1,
- KIT_ERROR_OUT_OF_MEMORY = (1 << 1),
- KIT_ERROR_INVALID_ARGUMENT = (1 << 2),
- KIT_ERROR_MKDIR_FAILED = (1 << 3),
- KIT_ERROR_RMDIR_FAILED = (1 << 4),
- KIT_ERROR_UNLINK_FAILED = (1 << 5),
- KIT_ERROR_FILE_ALREADY_EXISTS = (1 << 6),
- KIT_ERROR_FILE_DOES_NOT_EXIST = (1 << 7),
- KIT_ERROR_PATH_TOO_LONG = (1 << 8),
- KIT_ERROR_SOCKETS_STARTUP_FAILED = (1 << 9),
- KIT_ERROR_SOCKET_CONTROL_FAILED = (1 << 10),
- KIT_ERROR_NAME_TOO_LONG = (1 << 11),
- KIT_ERROR_INVALID_SIZE = (1 << 12),
- KIT_ERROR_INVALID_NAME = (1 << 13),
- KIT_ERROR_INVALID_PATH = (1 << 14),
- KIT_ERROR_OPEN_FAILED = (1 << 15),
- KIT_ERROR_TRUNCATE_FAILED = (1 << 16),
- KIT_ERROR_MAP_FAILED = (1 << 17),
- KIT_ERROR_UNMAP_FAILED = (1 << 18),
- KIT_ERROR_SYNC_FAILED = (1 << 19),
- KIT_ERROR_CLOSE_FAILED = (1 << 20),
- KIT_ERROR_RESOURCE_UNAVAILABLE = (1 << 21),
- KIT_ERROR_FORK_FAILED = (1 << 22),
- KIT_ERROR_EXECVE_FAILED = (1 << 23),
- KIT_ERROR_WAITPID_FAILED = (1 << 24),
- KIT_ERROR_PIPE_FAILED = (1 << 25),
- KIT_ERROR_DUP2_FAILED = (1 << 26),
- KIT_ERROR_CHDIR_FAILED = (1 << 27),
- KIT_ERROR_KILL_FAILED = (1 << 28),
- KIT_ERROR_INTERNAL = (1 << 30),
- KIT_ERROR_NOT_IMPLEMENTED = -1,
-};
-
-#endif