diff options
author | Dan McGee <dan@archlinux.org> | 2011-02-04 09:10:25 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-04 09:10:25 -0600 |
commit | e34fc4eddf73f2453b42235f5ae7d65f75db66fc (patch) | |
tree | 93b3a31a7db207f70b0a024f4de83ff8e0e3158f /lib/libalpm/alpm.h | |
parent | c12ccbfb2c7aa907ba01339a1a29089c65ea9911 (diff) | |
parent | 6b0d4674bb132b2583920211cc798f3db77ec392 (diff) | |
download | pacman-e34fc4eddf73f2453b42235f5ae7d65f75db66fc.tar.xz |
Merge remote-tracking branch 'allan/hash'
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r-- | lib/libalpm/alpm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 19ea4ffd..7fec293d 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -52,6 +52,7 @@ typedef struct __pmdepend_t pmdepend_t; typedef struct __pmdepmissing_t pmdepmissing_t; typedef struct __pmconflict_t pmconflict_t; typedef struct __pmfileconflict_t pmfileconflict_t; +typedef struct __pmpkghash_t pmpkghash_t; /* * Library @@ -186,7 +187,8 @@ int alpm_db_setserver(pmdb_t *db, const char *url); int alpm_db_update(int level, pmdb_t *db); pmpkg_t *alpm_db_get_pkg(pmdb_t *db, const char *name); -alpm_list_t *alpm_db_get_pkgcache(pmdb_t *db); +pmpkghash_t *alpm_db_get_pkgcache(pmdb_t *db); +alpm_list_t *alpm_db_get_pkgcache_list(pmdb_t *db); pmgrp_t *alpm_db_readgrp(pmdb_t *db, const char *name); alpm_list_t *alpm_db_get_grpcache(pmdb_t *db); |