constants: Add sentinel to checksum type list.
authorTomas Mlcoch <tmlcoch@redhat.com>
Tue, 14 May 2013 09:24:33 +0000 (11:24 +0200)
committerTomas Mlcoch <tmlcoch@redhat.com>
Tue, 14 May 2013 09:24:33 +0000 (11:24 +0200)
src/constants.h

index 1c7ea9f..f66f987 100644 (file)
@@ -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;
 
 /** @} */