nmsg  0.15.1
random.h
Go to the documentation of this file.
1 #ifndef NMSG_RANDOM_H
2 
7 nmsg_random_t
8 nmsg_random_init(void);
9 
10 void
11 nmsg_random_destroy(nmsg_random_t *);
12 
13 void
14 nmsg_random_buf(nmsg_random_t, uint8_t *, size_t);
15 
16 uint32_t
17 nmsg_random_uint32(nmsg_random_t);
18 
19 uint32_t
20 nmsg_random_uniform(nmsg_random_t, uint32_t upper_bound);
21 
22 #endif /* NMSG_RANDOM_H */