Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-23 02:34:51 -0500
committerDan McGee <dan@archlinux.org>2011-03-23 02:34:51 -0500
commitf7b577dc77667d8b7dc346e9754d9b203cc8068d (patch)
tree31a4505db608dac3d3aca97c8a300cb336ce69a7 /lib/libalpm/package.h
parent8584c25903d72de7489733bbbf0c3dd21bbc81ac (diff)
parentcedc63375758cf1c2a821dd5a78d960b34b44f28 (diff)
Merge branch 'gpg-libalpm-basics'
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r--lib/libalpm/package.h12
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;