diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-10-22 12:22:44 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-10-22 12:22:44 +0300 |
commit | e104b67237843a0ab7b12b17aa5647ddd64330fa (patch) | |
tree | 7709952088325f58089baac3e9d3bded4e48c36b /rpmio/rpmio_internal.h | |
parent | 08b56c5304c89e37147254f4f15bafcbc5eef2ce (diff) | |
download | librpm-tizen-e104b67237843a0ab7b12b17aa5647ddd64330fa.tar.gz librpm-tizen-e104b67237843a0ab7b12b17aa5647ddd64330fa.tar.bz2 librpm-tizen-e104b67237843a0ab7b12b17aa5647ddd64330fa.zip |
Eliminate use of pgpHashAlgo in rpmio interface arguments
- While its use would seem kinda obvious here, in rpm context this
information often comes from header tags which are plain integers
and would require conversion/casting to the enum. What matters is
the integral value, not it being actual enum.
Diffstat (limited to 'rpmio/rpmio_internal.h')
-rw-r--r-- | rpmio/rpmio_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmio/rpmio_internal.h b/rpmio/rpmio_internal.h index ab7e1bfe3..8c9f1a81a 100644 --- a/rpmio/rpmio_internal.h +++ b/rpmio/rpmio_internal.h @@ -18,11 +18,11 @@ rpmDigestBundle fdGetBundle(FD_t fd); /** \ingroup rpmio * Attach digest to fd. */ -void fdInitDigest(FD_t fd, pgpHashAlgo hashalgo, rpmDigestFlags flags); +void fdInitDigest(FD_t fd, int hashalgo, rpmDigestFlags flags); /** \ingroup rpmio */ -void fdFiniDigest(FD_t fd, pgpHashAlgo hashalgo, +void fdFiniDigest(FD_t fd, int hashalgo, void ** datap, size_t * lenp, int asAscii); |