From 4ffc53b3398ae845183f991a56207459256cc9e9 Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Sat, 18 Sep 2004 18:37:34 +0000 Subject: Imported from pacman-2.9.tar.gz --- src/package.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/package.h') diff --git a/src/package.h b/src/package.h index 58ef93da..ea9a3248 100644 --- a/src/package.h +++ b/src/package.h @@ -33,6 +33,10 @@ FREELIST(p);\ } +/* reasons -- ie, why the package was installed */ +#define REASON_EXPLICIT 0 /* explicitly requested by the user */ +#define REASON_DEPEND 1 /* installed as a dependency for another package */ + /* mods for depend_t.mod */ #define DEP_ANY 0 #define DEP_EQ 1 @@ -55,6 +59,7 @@ typedef struct __pkginfo_t { unsigned long size; unsigned short scriptlet; unsigned short force; + unsigned short reason; PMList *replaces; PMList *groups; PMList *files; -- cgit v1.2.3-24-g4f1b