projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved big horrible table to a separate header.
[u/mdw/catacomb]
/
rand.h
diff --git
a/rand.h
b/rand.h
index
6dbd021
..
05721fc
100644
(file)
--- a/
rand.h
+++ b/
rand.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: rand.h,v 1.
7 2000/10/08 12:07:18
mdw Exp $
+ * $Id: rand.h,v 1.
8 2001/02/03 16:07:33
mdw Exp $
*
* Secure random number generator
*
*
* Secure random number generator
*
@@
-30,6
+30,10
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: rand.h,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: rand.h,v $
+ * Revision 1.8 2001/02/03 16:07:33 mdw
+ * Give generic random objects separate namespaces for their supported misc
+ * ops.
+ *
* Revision 1.7 2000/10/08 12:07:18 mdw
* Remove spurious comma in enum.
*
* Revision 1.7 2000/10/08 12:07:18 mdw
* Remove spurious comma in enum.
*
@@
-306,7
+310,7
@@
extern void rand_getgood(rand_pool */*r*/, void */*p*/, size_t /*sz*/);
/* --- Miscellaneous operations --- */
enum {
/* --- Miscellaneous operations --- */
enum {
- RAND_GATE = GRAND_SPECIFIC
,
/* No args */
+ RAND_GATE = GRAND_SPECIFIC
('R'),
/* No args */
RAND_STRETCH, /* No args */
RAND_KEY, /* @const void *k, size_t sz@ */
RAND_NOISESRC, /* @const rand_source *s@ */
RAND_STRETCH, /* No args */
RAND_KEY, /* @const void *k, size_t sz@ */
RAND_NOISESRC, /* @const rand_source *s@ */