pactree: carry a list of databases for dep resolution
commite06586ceb49a0dc7e59996ae3a1483337d2ada05
authorDave Reisner <d@falconindy.com>
Tue, 21 Jun 2011 17:42:17 +0000 (21 13:42 -0400)
committerDan McGee <dan@archlinux.org>
Fri, 24 Jun 2011 18:37:09 +0000 (24 13:37 -0500)
tree39f47670caa36eb63860a8e7bd8c368dfe0e8119
parent61cb8e76c3f42bad318462e51bbfade752425023
pactree: carry a list of databases for dep resolution

Declare an alpm_list which, for now, only holds our local database.
walk_deps and walk_reverse_deps are refactored to account for this, and
a helper function is added to wrap alpm_db_get_pkg for traversing a
list.

This is groundwork for letting pactree walk the sync DBs.

Signed-off-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
src/util/pactree.c