diff options
Diffstat (limited to 'include/ntp_random.h')
-rw-r--r-- | include/ntp_random.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/ntp_random.h b/include/ntp_random.h new file mode 100644 index 0000000..3f89831 --- /dev/null +++ b/include/ntp_random.h @@ -0,0 +1,14 @@ + +#include <ntp_types.h> + +long ntp_random (void); +void ntp_srandom (unsigned long); +void ntp_srandomdev (void); +char * ntp_initstate (unsigned long, /* seed for R.N.G. */ + char *, /* pointer to state array */ + long /* # bytes of state info */ + ); +char * ntp_setstate (char *); /* pointer to state array */ + + + |