diff options
author | Dafydd Harries <dafydd.harries@collabora.co.uk> | 2007-02-05 17:24:00 +0000 |
---|---|---|
committer | Dafydd Harries <dafydd.harries@collabora.co.uk> | 2007-02-05 17:24:00 +0000 |
commit | 1352895ab8fa0b50a65702fc429db63564077bd7 (patch) | |
tree | d22c82cf113cbe36cc9008269049101777775ccc /random/random.h | |
parent | 00f0b1e2e799a86bd001602238785292b63bc961 (diff) | |
download | libnice-1352895ab8fa0b50a65702fc429db63564077bd7.tar.gz |
don't seed new RNGs to 0 by default; allow overriding RNG constructor
darcs-hash:20070205172439-c9803-1407272fc5941c986205b683b05756d7b52eca9e.gz
Diffstat (limited to 'random/random.h')
-rw-r--r-- | random/random.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/random/random.h b/random/random.h index 2e31e63..5315fb8 100644 --- a/random/random.h +++ b/random/random.h @@ -20,6 +20,9 @@ NiceRNG * nice_rng_new (void); void +nice_rng_set_new_func (NiceRNG * (*func) (void)); + +void nice_rng_seed (NiceRNG *rng, guint32 seed); void |