index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/package.h | 8 |
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index 96a3200a..636512bb 100644 --- a/lib/libalpm/package.h +++ b/lib/libalpm/package.h @@ -84,6 +84,14 @@ struct __pmpkg_t { /* internal */ pmpkgfrom_t origin; void *data; + /* TODO replace 'data' with this: + origin == PKG_FROM_CACHE, use pkg->origin_data.db + origin == PKG_FROM_FILE, use pkg->origin_data.fd + union { + int fd; + pmdb_t *db; + } origin_data; + */ pmdbinfrq_t infolevel; }; |