diff options
author | Dan McGee <dan@archlinux.org> | 2008-01-21 21:23:54 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-05-11 20:07:55 -0500 |
commit | 13f24a5bdabf9c2c7bfa07aff7176495bb775a0d (patch) | |
tree | 3abf0b56c91fe5d873cb20e2145ab5f26bb4e9a6 /lib/libalpm/package.h | |
parent | 046003844739416ff6d168dd2dec76490adb0727 (diff) | |
download | pacman-13f24a5bdabf9c2c7bfa07aff7176495bb775a0d.tar.xz |
Refactor pkg_load/parse_descfile into a new backend file
alpm_pkg_load() and parse_descfile() are specific to getting information
from package files, just as other code is specific to getting information
into or out of a package database. Move this code out of package.c, which
should eventually only contain operators on the pmpkg_t struct that do not
depend at all on where the data came from.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r-- | lib/libalpm/package.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index 0ba8aac4..2e4ff31e 100644 --- a/lib/libalpm/package.h +++ b/lib/libalpm/package.h @@ -81,7 +81,6 @@ void _alpm_pkg_free(pmpkg_t *pkg); int _alpm_pkg_cmp(const void *p1, const void *p2); int _alpm_pkgname_pkg_cmp(const void *pkgname, const void *package); int _alpm_pkg_compare_versions(pmpkg_t *local_pkg, pmpkg_t *pkg); -pmpkg_t *_alpm_pkg_load(const char *pkgfile, unsigned short full); pmpkg_t *_alpm_pkg_find(const char *needle, alpm_list_t *haystack); int _alpm_pkg_should_ignore(pmpkg_t *pkg); |