projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug in daemon mode.
[u/mdw/catacomb]
/
grand.h
diff --git
a/grand.h
b/grand.h
index
7b6fdbb
..
160663e
100644
(file)
--- a/
grand.h
+++ b/
grand.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: grand.h,v 1.
3 2001/02/03 16:07:3
3 mdw Exp $
+ * $Id: grand.h,v 1.
4 2001/04/19 18:23:5
3 mdw Exp $
*
* Generic interface to random number generators
*
*
* Generic interface to random number generators
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: grand.h,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: grand.h,v $
+ * Revision 1.4 2001/04/19 18:23:53 mdw
+ * Use unsigned integer rather than enum for flags.
+ *
* Revision 1.3 2001/02/03 16:07:33 mdw
* Give generic random objects separate namespaces for their supported misc
* ops.
* Revision 1.3 2001/02/03 16:07:33 mdw
* Give generic random objects separate namespaces for their supported misc
* ops.
@@
-91,9
+94,7
@@
typedef struct grand_ops {
/* --- Flag types --- */
/* --- Flag types --- */
-enum {
- GRAND_CRYPTO = 1u /* Cryptographically strong */
-};
+#define GRAND_CRYPTO 1u /* Cryptographically strong */
/* --- Operation types --- */
/* --- Operation types --- */