index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2006-11-20 09:10:23 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-11-20 09:10:23 +0000 |
commit | aa1c0ba9f8787fc3b1a1190103e394b0c1c95922 (patch) | |
tree | ed0c9675f7fc5da043a69b36e0b8c6c8e05cb583 /lib/libalpm/deps.h | |
parent | b8b9596b13de957566211b0e1db3e473ed66e147 (diff) |
-rw-r--r-- | lib/libalpm/deps.h | 11 |
diff --git a/lib/libalpm/deps.h b/lib/libalpm/deps.h index 030020a9..d3269673 100644 --- a/lib/libalpm/deps.h +++ b/lib/libalpm/deps.h @@ -25,18 +25,21 @@ #include "db.h" #include "sync.h" +#include "alpm.h" -typedef struct __pmdepend_t { +/* Dependency */ +struct __pmdepend_t { unsigned char mod; char name[PKG_NAME_LEN]; char version[PKG_VERSION_LEN]; -} pmdepend_t; +}; -typedef struct __pmdepmissing_t { +/* Missing dependency */ +struct __pmdepmissing_t { char target[PKG_NAME_LEN]; unsigned char type; pmdepend_t depend; -} pmdepmissing_t; +}; pmdepmissing_t *_alpm_depmiss_new(const char *target, unsigned char type, unsigned char depmod, const char *depname, const char *depversion); |