summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/conflict.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/conflict.h')
-rw-r--r--lib/libalpm/conflict.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libalpm/conflict.h b/lib/libalpm/conflict.h
index 5d57ea8c..c8143641 100644
--- a/lib/libalpm/conflict.h
+++ b/lib/libalpm/conflict.h
@@ -23,6 +23,15 @@
#include "db.h"
+#define CONFLICT_FILE_LEN 512
+
+typedef struct __pmconflict_t {
+ char target[PKG_NAME_LEN];
+ unsigned char type;
+ char file[CONFLICT_FILE_LEN];
+ char ctarget[PKG_NAME_LEN];
+} pmconflict_t;
+
PMList *checkconflicts(pmdb_t *db, PMList *packages);
PMList *db_find_conflicts(pmdb_t *db, PMList *targets, char *root, PMList **skip_list);