xref: /netbsd-src/external/ibm-public/postfix/dist/src/util/myrand.h (revision 41fbaed053f8fbfdf9d2a4ee0a7386a3c83f8505)
1*41fbaed0Stron /*	$NetBSD: myrand.h,v 1.1.1.1 2009/06/23 10:09:00 tron Exp $	*/
2*41fbaed0Stron 
3*41fbaed0Stron #ifndef _MYRAND_H_INCLUDED_
4*41fbaed0Stron #define _MYRAND_H_INCLUDED_
5*41fbaed0Stron 
6*41fbaed0Stron /*++
7*41fbaed0Stron /* NAME
8*41fbaed0Stron /*	myrand 3h
9*41fbaed0Stron /* SUMMARY
10*41fbaed0Stron /*	rand wrapper
11*41fbaed0Stron /* SYNOPSIS
12*41fbaed0Stron /*	#include <myrand.h>
13*41fbaed0Stron /* DESCRIPTION
14*41fbaed0Stron /* .nf
15*41fbaed0Stron 
16*41fbaed0Stron  /*
17*41fbaed0Stron   * External interface.
18*41fbaed0Stron   */
19*41fbaed0Stron #ifndef RAND_MAX
20*41fbaed0Stron #define RAND_MAX 0x7fffffff
21*41fbaed0Stron #endif
22*41fbaed0Stron 
23*41fbaed0Stron extern void mysrand(int);
24*41fbaed0Stron extern int myrand(void);
25*41fbaed0Stron 
26*41fbaed0Stron /* LICENSE
27*41fbaed0Stron /* .ad
28*41fbaed0Stron /* .fi
29*41fbaed0Stron /*	The Secure Mailer license must be distributed with this software.
30*41fbaed0Stron /* AUTHOR(S)
31*41fbaed0Stron /*	Wietse Venema
32*41fbaed0Stron /*	IBM T.J. Watson Research
33*41fbaed0Stron /*	P.O. Box 704
34*41fbaed0Stron /*	Yorktown Heights, NY 10598, USA
35*41fbaed0Stron /*--*/
36*41fbaed0Stron 
37*41fbaed0Stron #endif
38