New signatures for alpm initialize and release
commitfb4b422fc4567238332050b9a6c8c1cac2a8f091
authorDan McGee <dan@archlinux.org>
Fri, 3 Jun 2011 20:24:01 +0000 (3 15:24 -0500)
committerDan McGee <dan@archlinux.org>
Tue, 7 Jun 2011 16:37:05 +0000 (7 11:37 -0500)
tree047457f6cadf5493406b0ca4fa8c60230481d92d
parent992fa50dfd4faba93e37364bded015ea04d1fe15
New signatures for alpm initialize and release

These new method signatures return and take handle objects to operate on
so we can move away from the idea of one global handle in the API. There
is also another important change and that deals with the setting of root
and dbpaths. These are now done at initialization time instead of using
setter methods. This allows the library to operate more safely knowing
that paths won't change underneath it.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/alpm.c
lib/libalpm/alpm.h
lib/libalpm/be_local.c
lib/libalpm/db.c
lib/libalpm/db.h
lib/libalpm/handle.c
lib/libalpm/handle.h