Add public rpmdsCurrent() function for creating a single ds from iteration
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 26 Mar 2010 14:54:16 +0000 (16:54 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 26 Mar 2010 15:11:12 +0000 (17:11 +0200)
commitb88d5d3aaf4e5174a4683cef4d5d3ba0de28f3b1
treebab30b9e9e11562110c1674224d82e3ad561c846
parent971348fd46037ed7bf2cb20fc29fefe0d86143cc
Add public rpmdsCurrent() function for creating a single ds from iteration
- Permits extracting single dependencies from a set with instance
  number inherited without exposing rpmdsSetInstance() kind of thing
- Also faster than calling rpmdsSingle(rpmdsTagN(ds), rpmdsN(ds)....)
  where each call re-re-re-re-validates the indexes
lib/rpmds.c
lib/rpmds.h