Eliminate mi_key and mi_data from match iterator structure
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 13 Sep 2010 07:16:50 +0000 (10:16 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 13 Sep 2010 07:16:50 +0000 (10:16 +0300)
commit4b92856551c5cc0af6a285a5e7372e0de5311cd7
tree5e3e4883599f11feb35ddeb88f467cf63f87bb57
parent5a1d5ddc84fdfca1f2bbfa0bd52976d338882e42
Eliminate mi_key and mi_data from match iterator structure
- These are not used to hold iterator state but just for temporary
  storage. Temporary data belongs to temporary variables.
- Assimilate rpmdbGrowIterator() into rpmdbExtendIterator() which
  was just (ab)using mi_key for passing arguments into rpmdbGrowIterator()
  and pass as argument instead.
- Declare local structs + pointers to them for this step to keep changes
  minimal and "obvious"
lib/rpmdb.c