improving dissector_fuzz
[netsniff-ng.git] / src / mtrand.h
blob7b34c1e8b4eac68b9fbdda9652a89bad5c2e97c2
1 /*
2 * netsniff-ng - the packet sniffing beast
3 * By Daniel Borkmann <daniel@netsniff-ng.org>
4 * Copyright 2009, 2010 Daniel Borkmann.
5 * Subject to the GPL, version 2.
6 */
8 #ifndef MTRAND_H
9 #define MTRAND_H
11 extern void mt_init_by_seed_rand(unsigned long s);
12 extern void mt_init_by_seed_time(void);
13 extern void mt_init_by_seed_array(unsigned long key[], int len);
14 extern void mt_init_by_seed_rand_array(void);
15 extern void mt_init_by_random_device(void);
16 extern unsigned long mt_rand_int32(void);
17 extern long mt_rand_int31(void);
18 extern double mt_rand_real1(void);
19 extern double mt_rand_real2(void);
20 extern double mt_rand_real3(void);
21 extern double mt_rand_res53(void);
23 #endif /* MTRAND_H */