Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-10 23:50:31 +0000
committerAaron Griffin <aaron@archlinux.org>2007-02-10 23:50:31 +0000
commit97efe292ffd22906eaa86f1d536de12067044b33 (patch)
treee8922c08a45ffdf674b3ce4ccede6193fe036534
parentd080809c45af4ac7a393533316a9db38b9d51312 (diff)
*** empty log message ***
-rw-r--r--lib/libalpm/package.h8
1 files changed, 8 insertions, 0 deletions
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;
};