diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-03-19 19:25:23 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-03-19 19:25:23 +0200 |
commit | 606ceca33302751af140d8d9ebca598a6a06a39b (patch) | |
tree | 76cb8449a0c6abd8ea05474de34a673e48232278 /lib/rpmgi.h | |
parent | af659c87ce93b3d1506d5fdf6bece4891758eea4 (diff) | |
download | rpm-606ceca33302751af140d8d9ebca598a6a06a39b.tar.gz rpm-606ceca33302751af140d8d9ebca598a6a06a39b.tar.bz2 rpm-606ceca33302751af140d8d9ebca598a6a06a39b.zip |
Return headers from rpmgiNext() directly
Diffstat (limited to 'lib/rpmgi.h')
-rw-r--r-- | lib/rpmgi.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/rpmgi.h b/lib/rpmgi.h index 079109f08..79abbe621 100644 --- a/lib/rpmgi.h +++ b/lib/rpmgi.h @@ -47,18 +47,10 @@ rpmgi rpmgiNew(rpmts ts, rpmgiFlags flags, ARGV_const_t argv); /** \ingroup rpmgi * Perform next iteration step. * @param gi generalized iterator - * @returns RPMRC_OK on success, RPMRC_NOTFOUND on EOI + * @returns next header, NULL on end of iteration */ RPM_GNUC_INTERNAL -rpmRC rpmgiNext(rpmgi gi); - -/** \ingroup rpmgi - * Return current iteration header. - * @param gi generalized iterator - * @returns header - */ -RPM_GNUC_INTERNAL -Header rpmgiHeader(rpmgi gi); +Header rpmgiNext(rpmgi gi); /** \ingroup rpmgi * Return number of errors (file not found etc) encountered during iteration |