Refactor pkg_load/parse_descfile into a new backend file
commit13f24a5bdabf9c2c7bfa07aff7176495bb775a0d
authorDan McGee <dan@archlinux.org>
Tue, 22 Jan 2008 03:23:54 +0000 (21 21:23 -0600)
committerDan McGee <dan@archlinux.org>
Mon, 12 May 2008 01:07:55 +0000 (11 20:07 -0500)
tree3abf0b56c91fe5d873cb20e2145ab5f26bb4e9a6
parent046003844739416ff6d168dd2dec76490adb0727
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>
lib/libalpm/Makefile.am
lib/libalpm/be_package.c [new file with mode: 0644]
lib/libalpm/package.c
lib/libalpm/package.h