summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-03 13:28:12 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-03 13:28:12 +0000
commit30911b2ae8c8d8bdf741fc642f49956b8c9b98c0 (patch)
tree5d9a80f3b45f3713b41e606ff631cb73780f6850 /include
parentc6934754b0cb10f6510f98fb3668a5effbbe97a5 (diff)
Improve PRNG
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4666 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/dns.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/dns.h b/include/dns.h
index 7c128602f..41f42f46a 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -279,6 +279,13 @@ class DNS : public Extensible
* Destructor
*/
~DNS();
+
+ /** Portable random number generator, generates
+ * its random number from the ircd stats counters,
+ * effective user id, time of day and the rollover
+ * counter (currid)
+ */
+ unsigned long PRNG();
};
#endif