diff options
author | Jindrich Novy <jnovy@redhat.com> | 2009-03-02 10:29:05 +0100 |
---|---|---|
committer | Jindrich Novy <jnovy@redhat.com> | 2009-03-02 10:29:05 +0100 |
commit | c45cfb9c047b05ca29acb8d42186e97e17204e27 (patch) | |
tree | 8839150d8ed41dad0fab758305a266b54687c9c7 /lib/rpmvf.h | |
parent | 7acdfded4a82e86a673418c3953aa6bf8106d313 (diff) | |
download | rpm-c45cfb9c047b05ca29acb8d42186e97e17204e27.tar.gz rpm-c45cfb9c047b05ca29acb8d42186e97e17204e27.tar.bz2 rpm-c45cfb9c047b05ca29acb8d42186e97e17204e27.zip |
Fix documentation and help for the md5 -> filedigest move
- add aliases for obsolete {RPM}VERIFY_MD5 flags to
not to break API
Diffstat (limited to 'lib/rpmvf.h')
-rw-r--r-- | lib/rpmvf.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/rpmvf.h b/lib/rpmvf.h index 023c1be53..57879557e 100644 --- a/lib/rpmvf.h +++ b/lib/rpmvf.h @@ -16,7 +16,8 @@ extern "C" { */ typedef enum rpmVerifyAttrs_e { RPMVERIFY_NONE = 0, /*!< */ - RPMVERIFY_FILEDIGEST= (1 << 0), /*!< from %verify(md5) or %verify(filedigest) */ + RPMVERIFY_MD5 = (1 << 0), /*!< from %verify(md5) - obsolete */ + RPMVERIFY_FILEDIGEST= (1 << 0), /*!< from %verify(filedigest) */ RPMVERIFY_FILESIZE = (1 << 1), /*!< from %verify(size) */ RPMVERIFY_LINKTO = (1 << 2), /*!< from %verify(link) */ RPMVERIFY_USER = (1 << 3), /*!< from %verify(user) */ @@ -43,7 +44,8 @@ typedef enum rpmVerifyAttrs_e { */ typedef enum rpmVerifyFlags_e { VERIFY_DEFAULT = 0, /*!< */ - VERIFY_FILEDIGEST = (1 << 0), /*!< from --nomd5 or --nofiledigest */ + VERIFY_MD5 = (1 << 0), /*!< from --nomd5 - obsolete */ + VERIFY_FILEDIGEST = (1 << 0), /*!< from --nofiledigest */ VERIFY_SIZE = (1 << 1), /*!< from --nosize */ VERIFY_LINKTO = (1 << 2), /*!< from --nolinkto */ VERIFY_USER = (1 << 3), /*!< from --nouser */ |