OpENer - Open Source EtherNet/IP(TM) I/O Target Stack  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
random.h File Reference
#include <stdint.h>
Include dependency graph for random.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Random
 

Typedefs

typedef uint32_t(* GetNextUInt32 )(void)
 
typedef void(* SetSeed )(uint32_t seed)
 

Functions

void RandomDelete (Random **random)
 
RandomRandomNew (SetSeed, GetNextUInt32)
 

Typedef Documentation

typedef uint32_t(* GetNextUInt32)(void)

Definition at line 13 of file random.h.

typedef void(* SetSeed)(uint32_t seed)

Definition at line 12 of file random.h.

Function Documentation

void RandomDelete ( Random **  random)

Definition at line 19 of file random.c.

Random* RandomNew ( SetSeed  ,
GetNextUInt32   
)

Definition at line 11 of file random.c.

References Random::set_seed.