summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-12-14 19:06:31 +0100
committerDan McGee <dan@archlinux.org>2010-12-14 19:06:31 +0100
commitc2a73ba989fffb59c1b8ac7edb265a996dfc184d (patch)
treeeb1e648f4e011f4ef49a836c9d81f123dc347313 /lib/libalpm/package.h
parentdbf59a6b141213b0afc962c71347eb83f8bcab73 (diff)
downloadpacman-c2a73ba989fffb59c1b8ac7edb265a996dfc184d.tar.gz
pacman-c2a73ba989fffb59c1b8ac7edb265a996dfc184d.tar.xz
When setting package name, set hash value as well
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r--lib/libalpm/package.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index 9a6f0cb9..d1abb55f 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -89,6 +89,7 @@ struct pkg_operations {
extern struct pkg_operations default_pkg_ops;
struct __pmpkg_t {
+ unsigned long name_hash;
char *filename;
char *name;
char *version;