From 97efe292ffd22906eaa86f1d536de12067044b33 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sat, 10 Feb 2007 23:50:31 +0000 Subject: *** empty log message *** --- lib/libalpm/package.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/libalpm') 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; }; -- cgit v1.2.3-70-g09d2