Mark rpmfiMD5() deprecated

This commit is contained in:
Panu Matilainen 2008-05-30 12:11:16 +03:00
parent e1724c3d4a
commit db573c81ed
1 changed files with 2 additions and 1 deletions

View File

@ -217,10 +217,11 @@ const unsigned char * rpmfiFDigest(rpmfi fi, pgpHashAlgo *algo, size_t *diglen);
/** \ingroup rpmfi /** \ingroup rpmfi
* Return current file (binary) md5 digest from file info set. * Return current file (binary) md5 digest from file info set.
* @deprecated Use rpmfiFDigest() instead
* @param fi file info set * @param fi file info set
* @return current file md5 digest, NULL on invalid * @return current file md5 digest, NULL on invalid
*/ */
const unsigned char * rpmfiMD5(rpmfi fi); const unsigned char * rpmfiMD5(rpmfi fi) RPM_GNUC_DEPRECATED;
/** \ingroup rpmfi /** \ingroup rpmfi
* Return current file linkto (i.e. symlink(2) target) from file info set. * Return current file linkto (i.e. symlink(2) target) from file info set.