summaryrefslogtreecommitdiff
path: root/src/infodb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/infodb.h')
-rw-r--r--src/infodb.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/infodb.h b/src/infodb.h
index 338b5bccd..fbba824f7 100644
--- a/src/infodb.h
+++ b/src/infodb.h
@@ -25,6 +25,16 @@
#include <dpkg/dpkg-db.h>
+enum pkg_infodb_format {
+ pkg_infodb_format_unknown = -1,
+ pkg_infodb_format_legacy = 0,
+ pkg_infodb_format_multiarch = 1,
+};
+
+enum pkg_infodb_format pkg_infodb_get_format(void);
+void pkg_infodb_set_format(enum pkg_infodb_format format);
+bool pkg_infodb_is_upgrading(void);
+
bool pkg_infodb_has_file(struct pkginfo *pkg, struct pkgbin *pkgbin,
const char *name);