summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h24
1 files changed, 16 insertions, 8 deletions
diff --git a/src/main.h b/src/main.h
index 53f16f529..735af9e55 100644
--- a/src/main.h
+++ b/src/main.h
@@ -29,17 +29,25 @@
struct fileinlist;
struct filenamenode;
+enum istobes {
+ itb_normal,
+ itb_remove,
+ itb_installnew,
+ itb_deconfigure,
+ itb_preinstall
+};
+
+enum pkg_cycle_color {
+ white,
+ gray,
+ black,
+};
+
struct perpackagestate {
- enum istobes {
- itb_normal, itb_remove, itb_installnew, itb_deconfigure, itb_preinstall
- } istobe;
+ enum istobe istobe;
/** Used during cycle detection. */
- enum pkg_cycle_color {
- white,
- gray,
- black,
- } color;
+ enum pkg_cycle_color color;
/**
* filelistvalid files Meaning