summaryrefslogtreecommitdiff
path: root/include/ctables.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-10-21 22:13:15 +0100
committerPeter Powell <petpow@saberuk.com>2017-10-21 22:13:15 +0100
commit0189455f5d9a0ae8ae6afd9c1ec6585c4cfb6f19 (patch)
tree32d7400198130ad4183ffc4728bc86bd6e7e6da5 /include/ctables.h
parent9eac41bf5a33829c300a4f87cb539de8a23e3d73 (diff)
Remove CMD_EPERM as it is not used anywhere.
Diffstat (limited to 'include/ctables.h')
-rw-r--r--include/ctables.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/include/ctables.h b/include/ctables.h
index bc4226ea9..9376dbbcc 100644
--- a/include/ctables.h
+++ b/include/ctables.h
@@ -23,14 +23,17 @@
#pragma once
-/** Used to indicate command success codes
- */
+/** Used to indicate the result of trying to execute a command. */
enum CmdResult
{
- CMD_FAILURE = 0, /* Command exists, but failed */
- CMD_SUCCESS = 1, /* Command exists, and succeeded */
- CMD_INVALID = 2, /* Command doesnt exist at all! */
- CMD_EPERM = 3 /* Command failed because of a permission check */
+ /** The command exists but its execution failed. */
+ CMD_FAILURE = 0,
+
+ /** The command exists and its execution succeeded. */
+ CMD_SUCCESS = 1,
+
+ /* The command does not exist. */
+ CMD_INVALID = 2
};
/** Flag for commands that are only allowed from servers */