summaryrefslogtreecommitdiffstats
path: root/ipset.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipset.h')
-rw-r--r--ipset.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/ipset.h b/ipset.h
index 35a2055..2596dfa 100644
--- a/ipset.h
+++ b/ipset.h
@@ -68,10 +68,11 @@ enum set_commands {
CMD_ADT_GET,
};
-/* Exit codes */
-#define OTHER_PROBLEM 1
-#define PARAMETER_PROBLEM 2
-#define VERSION_PROBLEM 3
+enum exittype {
+ OTHER_PROBLEM = 1,
+ PARAMETER_PROBLEM,
+ VERSION_PROBLEM
+};
/* The view of an ipset in userspace */
struct set {