summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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