diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-08 04:42:47 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-14 02:41:37 +0200 |
commit | 8be4db8caf8e534afe7ebea1eb913b34b2414a43 (patch) | |
tree | f3f9da73b79231e481535bb43cbb7abb2fd1f63f /lib/libalpm/db.h | |
parent | f6700d5c9830cc2493d8448bd7af8ab7d649e8e6 (diff) | |
download | pacman-8be4db8caf8e534afe7ebea1eb913b34b2414a43.tar.gz pacman-8be4db8caf8e534afe7ebea1eb913b34b2414a43.tar.xz |
Add a helper method for retrieving the DB signature path
Note that is a bit different than the normal _alpm_db_path() method; the
caller is expected to free the result.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r-- | lib/libalpm/db.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index 9ecf31f7..e3faeeb4 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -72,6 +72,7 @@ struct __pmdb_t { pmdb_t *_alpm_db_new(const char *treename, int is_local); void _alpm_db_free(pmdb_t *db); const char *_alpm_db_path(pmdb_t *db); +char *_alpm_db_sig_path(pmdb_t *db); int _alpm_db_version(pmdb_t *db); int _alpm_db_cmp(const void *d1, const void *d2); alpm_list_t *_alpm_db_search(pmdb_t *db, const alpm_list_t *needles); |