X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/1709c9a148391a5dea359b2f67ff5db733a597cd..8404fd750e8d1a635ccb3895e4f0e155e5f5e3cf:/grand.h diff --git a/grand.h b/grand.h index 7b6fdbb..160663e 100644 --- a/grand.h +++ b/grand.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: grand.h,v 1.3 2001/02/03 16:07:33 mdw Exp $ + * $Id: grand.h,v 1.4 2001/04/19 18:23:53 mdw Exp $ * * Generic interface to random number generators * @@ -30,6 +30,9 @@ /*----- 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. @@ -91,9 +94,7 @@ typedef struct grand_ops { /* --- Flag types --- */ -enum { - GRAND_CRYPTO = 1u /* Cryptographically strong */ -}; +#define GRAND_CRYPTO 1u /* Cryptographically strong */ /* --- Operation types --- */