Add per-datatype iterators to rpmtd
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 21 May 2008 11:49:12 +0000 (14:49 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 21 May 2008 11:49:12 +0000 (14:49 +0300)
commit35c0252857822faac53b7df9c9632d21bed926d5
treea52feeeefd03cafb14e1762e55b786c3efa5a123
parent3d8656f040d2c780c88d0cd63594898f0605a6fa
Add per-datatype iterators to rpmtd
- just uint32 and string iterators for now, those are the most common ones
- allows somewhat more convenient code constructs when type is known,
  eg no need to separately check for non-null inside loops
lib/rpmtd.c
lib/rpmtd.h