index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-06-02 15:16:00 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-23 02:22:00 -0500 |
commit | 60159c2e77a499067e0b294fc9c6c182f225bee2 (patch) | |
tree | 453ff6d5b229d4952634a989fbcca388621adbd5 /lib/libalpm/package.h | |
parent | 9f2a3023f8088800efd3a0abeb32ed5117be4442 (diff) |
-rw-r--r-- | lib/libalpm/package.h | 12 |
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; |