From: Tomas Mlcoch Date: Tue, 14 May 2013 09:24:33 +0000 (+0200) Subject: constants: Add sentinel to checksum type list. X-Git-Tag: upstream/0.2.1~198 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d66f0b8c6149dab48c8e92875fb7a93909922ddd;p=services%2Fcreaterepo_c.git constants: Add sentinel to checksum type list. --- 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; /** @} */