summaryrefslogtreecommitdiff
path: root/random/random.h
diff options
context:
space:
mode:
authorDafydd Harries <dafydd.harries@collabora.co.uk>2007-02-05 17:24:00 +0000
committerDafydd Harries <dafydd.harries@collabora.co.uk>2007-02-05 17:24:00 +0000
commit1352895ab8fa0b50a65702fc429db63564077bd7 (patch)
treed22c82cf113cbe36cc9008269049101777775ccc /random/random.h
parent00f0b1e2e799a86bd001602238785292b63bc961 (diff)
downloadlibnice-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.h3
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