From d66f0b8c6149dab48c8e92875fb7a93909922ddd Mon Sep 17 00:00:00 2001 From: Tomas Mlcoch Date: Tue, 14 May 2013 11:24:33 +0200 Subject: [PATCH] constants: Add sentinel to checksum type list. --- src/constants.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/constants.h b/src/constants.h index 1c7ea9f..f66f987 100644 --- a/src/constants.h +++ b/src/constants.h @@ -33,9 +33,10 @@ extern "C" { * Checksum type. */ typedef enum { - CR_CHECKSUM_MD5, /*!< MD5 checksum */ - CR_CHECKSUM_SHA1, /*!< SHA1 checksum */ - CR_CHECKSUM_SHA256 /*!< SHA256 checksum */ + CR_CHECKSUM_MD5, /*!< MD5 checksum */ + CR_CHECKSUM_SHA1, /*!< SHA1 checksum */ + CR_CHECKSUM_SHA256, /*!< SHA256 checksum */ + CR_CHECKSUM_SENTINEL, /*!< sentinel of the list */ } cr_ChecksumType; /** @} */ -- 2.7.4