diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-23 02:34:51 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-23 02:34:51 -0500 |
commit | f7b577dc77667d8b7dc346e9754d9b203cc8068d (patch) | |
tree | 31a4505db608dac3d3aca97c8a300cb336ce69a7 /lib/libalpm/package.h | |
parent | 8584c25903d72de7489733bbbf0c3dd21bbc81ac (diff) | |
parent | cedc63375758cf1c2a821dd5a78d960b34b44f28 (diff) | |
download | pacman-f7b577dc77667d8b7dc346e9754d9b203cc8068d.tar.xz |
Merge branch 'gpg-libalpm-basics'
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r-- | lib/libalpm/package.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index b161d5f1..25ed5cf4 100644 --- a/lib/libalpm/package.h +++ b/lib/libalpm/package.h @@ -87,6 +87,16 @@ struct pkg_operations { */ extern struct pkg_operations default_pkg_ops; +struct __pmpgpsig_t { + /* we will either store the encoded data or the raw data- + * this way we can decode on an as-needed basis since most + * operations won't require the overhead of base64 decodes + * on all packages in a sync repository. */ + char *encdata; + size_t rawlen; + unsigned char *rawdata; +}; + struct __pmpkg_t { unsigned long name_hash; char *filename; @@ -98,6 +108,8 @@ struct __pmpkg_t { char *md5sum; char *arch; + pmpgpsig_t pgpsig; + time_t builddate; time_t installdate; |