projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1b6389
)
constants: Add sentinel to checksum type list.
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Tue, 14 May 2013 09:24:33 +0000
(11:24 +0200)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Tue, 14 May 2013 09:24:33 +0000
(11:24 +0200)
src/constants.h
patch
|
blob
|
history
diff --git
a/src/constants.h
b/src/constants.h
index
1c7ea9f
..
f66f987
100644
(file)
--- 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;
/** @} */