[pacman-dev] CVS update of pacman-lib/lib/libalpm (package.h)
Aaron Griffin
aaron at archlinux.org
Sat Feb 10 18:50:31 EST 2007
Date: Saturday, February 10, 2007 @ 18:50:31
Author: aaron
Path: /home/cvs-pacman/pacman-lib/lib/libalpm
Modified: package.h (1.27 -> 1.28)
-----------+
package.h | 8 ++++++++
1 file changed, 8 insertions(+)
Index: pacman-lib/lib/libalpm/package.h
diff -u pacman-lib/lib/libalpm/package.h:1.27 pacman-lib/lib/libalpm/package.h:1.28
--- pacman-lib/lib/libalpm/package.h:1.27 Wed Feb 7 00:57:28 2007
+++ pacman-lib/lib/libalpm/package.h Sat Feb 10 18:50:31 2007
@@ -84,6 +84,14 @@
/* 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;
};
More information about the pacman-dev
mailing list