Rename td2pool as rpmtdToPool, export and optimize
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 11 Sep 2012 05:12:49 +0000 (08:12 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 11 Sep 2012 05:16:07 +0000 (08:16 +0300)
commit0c76a514f00c733542850816d2028fed3ece0f37
treed94d1842d4a4223fb1d340507dfedb3c007f47bd
parent9929a34aaf1fd4c485c2f8d38be0017d7a610c7e
Rename td2pool as rpmtdToPool, export and optimize

- Using rpmtd iteration for this is slow and stupid as we keep
  pointlessly re-re-re-re-re-validating the tag type and indexes.
- Change argument order to source -> destination
- Move to rpmtd.c where it belongs and make public with a decent
  name. Not sure if this is the kind of an API we really want to make
  public but ... at least for now it'll do.
lib/rpmfi.c
lib/rpmtd.c
lib/rpmtd.h