diff options
author | Judd Vinet <judd@archlinux.org> | 2004-09-18 20:37:34 +0200 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2004-09-18 20:37:34 +0200 |
commit | 4ffc53b3398ae845183f991a56207459256cc9e9 (patch) | |
tree | f71a9fa0c0ab1bc87dd84cf07828fe95efbb849f /src/package.h | |
parent | afc0d9a3c45b70edd948ce0be4a5e81d4da00c7e (diff) | |
download | pacman-4ffc53b3398ae845183f991a56207459256cc9e9.tar.gz pacman-4ffc53b3398ae845183f991a56207459256cc9e9.tar.xz |
Imported from pacman-2.9.tar.gz
Diffstat (limited to 'src/package.h')
-rw-r--r-- | src/package.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; |