projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added basic ssl support to ircu
[ircu2.10.12-pk.git]
/
include
/
random.h
diff --git
a/include/random.h
b/include/random.h
index af18a287b526b16b38b0b800cadbec231830a67b..dbd1506fb4f00a0b0b0f6888a53e29257ecab864 100644
(file)
--- a/
include/random.h
+++ b/
include/random.h
@@
-1,10
+1,19
@@
-#ifndef RANDOM_H
-#define RANDOM_H
+/** @file random.h
+ * @brief 32-bit pseudo-random number generator interface.
+ * @version $Id$
+ */
+#ifndef INCLUDED_random_h
+#define INCLUDED_random_h
+
+struct Client;
-/*
=============================================================================
+/*
* Proto types
*/
* Proto types
*/
+extern int random_seed_set(struct Client* from, const char* const* fields,
+ int count);
+
extern unsigned int ircrandom(void);
extern unsigned int ircrandom(void);
-#endif /*
RANDOM_H
*/
+#endif /*
INCLUDED_random_h
*/