Introduce install/remove iterators.
authorKristian Høgsberg <krh@redhat.com>
Sat, 21 Jun 2008 01:56:43 +0000 (21:56 -0400)
committerKristian Høgsberg <krh@redhat.com>
Sat, 21 Jun 2008 01:56:43 +0000 (21:56 -0400)
commit8a813368430e6773afbfd9c34a7da9454d4799ae
treeb833546f2217aa8640b560ca6d178826f834d966
parent4d070f05b5e5616c238302e0e49877e7bff2c2fe
Introduce install/remove iterators.

These iterator constructors lets you pass in two sets and creates
an iterator for the packages to remove or the packages to install.
The iterators will step through the packages in a sequence that respects
the pre, post, preun and postun modifiers.

Right now, the install order isn't actually implemented, this patch just
implements the API changes and updates the applications.
librazor/razor.c
librazor/razor.h
src/main.c