summaryrefslogtreecommitdiffstats
path: root/src/package.h
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2003-11-25 03:02:36 +0100
committerJudd Vinet <judd@archlinux.org>2003-11-25 03:02:36 +0100
commitf54a888a1facfd8f086d6414260be5f1b991a66b (patch)
treec18ecbc42067712300175c0d0ef635dc4ec0da1e /src/package.h
parent5aa3a24b17c5b1d2b43274e530259dab7711b9b0 (diff)
downloadpacman-f54a888a1facfd8f086d6414260be5f1b991a66b.tar.gz
pacman-f54a888a1facfd8f086d6414260be5f1b991a66b.tar.xz
Imported from pacman-2.7.tar.gz
Diffstat (limited to 'src/package.h')
-rw-r--r--src/package.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/package.h b/src/package.h
index 11547057..b7d72f8f 100644
--- a/src/package.h
+++ b/src/package.h
@@ -25,6 +25,14 @@
#define FREEPKG(p) { freepkg(p); p = NULL; }
+#define FREELISTPKGS(p) {\
+ PMList *i;\
+ for(i = p; i; i = i->next) {\
+ FREEPKG(i->data);\
+ }\
+ FREELIST(p);\
+}
+
/* mods for depend_t.mod */
#define DEP_ANY 0
#define DEP_EQ 1
@@ -41,6 +49,7 @@ typedef struct __pkginfo_t {
char builddate[32];
char installdate[32];
char packager[64];
+ char md5sum[33];
unsigned long size;
unsigned short scriptlet;
PMList *replaces;