summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorNagy Gabor <ngaba@bibl.u-szeged.hu>2007-12-18 14:24:44 +0100
committerDan McGee <dan@archlinux.org>2007-12-19 14:48:05 -0600
commit13dd2864ca740ee7e6a6ce163c883dc24a294c87 (patch)
treeeeef3102af868b97ddc6dd0e9a6ba5387b435451 /lib/libalpm/alpm.h
parent47f4c5a480505e5ed6a0473f4f81ddf98df5e43a (diff)
downloadpacman-13dd2864ca740ee7e6a6ce163c883dc24a294c87.tar.xz
PM_DEP_MOD_LT and PM_DEP_MOD_GT depmods added
You can use foo<2.0 and foo>2.0 as depend add046.py and add047.py pactests were added to check this Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index f64796cb..3a484be3 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -369,7 +369,9 @@ typedef enum _pmdepmod_t {
PM_DEP_MOD_ANY = 1,
PM_DEP_MOD_EQ,
PM_DEP_MOD_GE,
- PM_DEP_MOD_LE
+ PM_DEP_MOD_LE,
+ PM_DEP_MOD_GT,
+ PM_DEP_MOD_LT
} pmdepmod_t;
pmdepend_t *alpm_splitdep(const char *depstring);