diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-05-13 11:46:33 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-05-13 11:46:33 +0300 |
commit | 09807fed0353fe67cb7df4db4b21e544ebc118cb (patch) | |
tree | 5cc4a3eb94388e7ca03b2cb91a48ae1b20f8e988 /lib/header.h | |
parent | 8cd92950bda4658c8d376c5c381237301013edfb (diff) | |
download | rpm-09807fed0353fe67cb7df4db4b21e544ebc118cb.tar.gz rpm-09807fed0353fe67cb7df4db4b21e544ebc118cb.tar.bz2 rpm-09807fed0353fe67cb7df4db4b21e544ebc118cb.zip |
Convert header tag iterator to use rpmtd
- new API function headerNext() for the new interface
- headerNextIterator() is just a compat wrapper
Diffstat (limited to 'lib/header.h')
-rw-r--r-- | lib/header.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/header.h b/lib/header.h index f8eda86b3..494ec94fa 100644 --- a/lib/header.h +++ b/lib/header.h @@ -471,6 +471,14 @@ HeaderIterator headerInitIterator(Header h); /** \ingroup header * Return next tag from header. * @param hi header tag iterator + * @retval td tag data container + * @return 1 on success, 0 on failure + */ +int headerNext(HeaderIterator hi, rpmtd td); + +/** \ingroup header + * Return next tag from header. + * @param hi header tag iterator * @retval *tag tag * @retval *type tag value data type * @retval *p pointer to tag value(s) |