On 11/05/2010 03:48 AM, David Peterson wrote:
Looking in rpmdb.h, I see the following function:It only allows either a string that is matched as is or NULL for all. You can use rpmdbSetIteratorRE to restrict the results (typically using RPMTAG_PACKAGES, NULL for rpmdbInitIterator). Unfortunately this does not give you any performance benefit. RPM still loads and inspects all headers. Sorry, the API (and the implementation) isn't very helpful in this area... Florian |
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list