summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index d1b31b196..b0d08f9da 100644
--- a/src/main.h
+++ b/src/main.h
@@ -217,7 +217,16 @@ enum dep_check breakses_ok(struct pkginfo *pkg, struct varbuf *aemsgs);
void deferred_remove(struct pkginfo *pkg);
void deferred_configure(struct pkginfo *pkg);
-extern int sincenothing, dependtry;
+enum dependtry {
+ DEPEND_TRY_NORMAL = 1,
+ DEPEND_TRY_CYCLES = 2,
+ DEPEND_TRY_FORCE_DEPENDS_VERSION = 3,
+ DEPEND_TRY_FORCE_DEPENDS = 4,
+ DEPEND_TRY_LAST,
+};
+
+extern enum dependtry dependtry;
+extern int sincenothing;
/* from cleanup.c (most of these are declared in archives.h) */