| 1 | /* -*- Mode: C; c-file-style: "stroustrup" -*- */ |
| 2 | |
| 3 | #if !defined( _random_h ) |
| 4 | #define _random_h |
| 5 | |
| 6 | #ifdef __UNIX__ |
| 7 | #include <sys/types.h> |
| 8 | #endif |
| 9 | |
| 10 | #if defined( __cplusplus ) |
| 11 | extern "C" { |
| 12 | #endif |
| 13 | |
| 14 | int random_init( void ); |
| 15 | int random_addbytes( void*, size_t ); |
| 16 | int random_getbytes( void*, size_t ); |
| 17 | int random_rectangular( long top, long* resp ); |
| 18 | int random_final( void ); |
| 19 | |
| 20 | #if defined( __cplusplus ) |
| 21 | } |
| 22 | #endif |
| 23 | |
| 24 | #endif |