File: random.h

package info (click to toggle)
hashcash 1.22-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,232 kB
  • sloc: ansic: 8,565; perl: 925; sh: 297; makefile: 181; python: 41
file content (24 lines) | stat: -rw-r--r-- 411 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* -*- Mode: C; c-file-style: "stroustrup" -*- */

#if !defined( _random_h )
#define _random_h

#ifdef __UNIX__
#include <sys/types.h>
#endif

#if defined( __cplusplus )
extern "C" {
#endif

int random_init( void );
int random_addbytes( void*, size_t );
int random_getbytes( void*, size_t );
int random_rectangular( long top, long* resp );
int random_final( void );

#if defined( __cplusplus )
}
#endif

#endif