updated REASON constants to be consistent with databases from pacman 2.9.x

This commit is contained in:
Aurelien Foret 2005-05-02 07:42:18 +00:00
parent 9e7dfed18b
commit 0069357006
1 changed files with 2 additions and 2 deletions

View File

@ -150,8 +150,8 @@ enum {
};
/* reasons -- ie, why the package was installed */
#define PM_PKG_REASON_EXPLICIT 1 /* explicitly requested by the user */
#define PM_PKG_REASON_DEPEND 2 /* installed as a dependency for another package */
#define PM_PKG_REASON_EXPLICIT 0 /* explicitly requested by the user */
#define PM_PKG_REASON_DEPEND 1 /* installed as a dependency for another package */
void *alpm_pkg_getinfo(PM_PKG *pkg, unsigned char parm);
int alpm_pkg_load(char *filename, PM_PKG **pkg);