Further split single ds creation into two, sigh
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 11 Sep 2012 10:14:04 +0000 (13:14 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 11 Sep 2012 10:41:16 +0000 (13:41 +0300)
commitf5be0543322cf8989c2a5f7ccf2b8c957b09f45f
tree0a96ee1653bf61331fc0b85b76e5fe17e0b39954
parentcee404ff37b0c2c3677db8c37d957fb065f92638
Further split single ds creation into two, sigh

- Allow rpmdsCurrent() to share the pool and id's of its "parent" ds
  instead of having to repeatedly create and tear down entire pools
  just for a couple of strings. Used by python bindings for rpmds
  iteration so we'll want to be reasonably efficient.
- For now, rpmdsSingle() and rpmdsThis() always get a private pool,
  wasteful as it might be, but at least now we can freeze them.
lib/rpmds.c