mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 17:38:07 +01:00
24 lines
614 B
C
24 lines
614 B
C
|
/* -----------------------------------------------------------------------
|
||
|
* Name : rngs.h (header file for the library file rngs.c)
|
||
|
* Author : Steve Park & Dave Geyer
|
||
|
* Language : ANSI C
|
||
|
* Latest Revision : 09-22-98
|
||
|
* -----------------------------------------------------------------------
|
||
|
*/
|
||
|
|
||
|
#if !defined( _RNGS_ )
|
||
|
#define _RNGS_
|
||
|
|
||
|
int irand(int from, int to);
|
||
|
float frand(float from, float to);
|
||
|
int signrand();
|
||
|
|
||
|
double Random(void);
|
||
|
void PlantSeeds(long x);
|
||
|
void GetSeed(long *x);
|
||
|
void PutSeed(long x);
|
||
|
void SelectStream(int index);
|
||
|
void TestRandom(void);
|
||
|
|
||
|
#endif
|