diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-02-10 23:50:31 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-02-10 23:50:31 +0000 |
commit | 97efe292ffd22906eaa86f1d536de12067044b33 (patch) | |
tree | e8922c08a45ffdf674b3ce4ccede6193fe036534 | |
parent | d080809c45af4ac7a393533316a9db38b9d51312 (diff) | |
download | pacman-97efe292ffd22906eaa86f1d536de12067044b33.tar.xz |
*** empty log message ***
-rw-r--r-- | lib/libalpm/package.h | 8 |
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; }; |