X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=include%2Frandom.h;h=dbd1506fb4f00a0b0b0f6888a53e29257ecab864;hb=refs%2Fheads%2Fupstream-ssl;hp=998106265cb19b6493114e60bb4dc5ac34044216;hpb=ae91ef6320f611af74e70a0db2620c338fbaa7d5;p=ircu2.10.12-pk.git diff --git a/include/random.h b/include/random.h index 9981062..dbd1506 100644 --- a/include/random.h +++ b/include/random.h @@ -1,15 +1,19 @@ -/* - * random.h - * - * $Id$ +/** @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 */ +extern int random_seed_set(struct Client* from, const char* const* fields, + int count); + extern unsigned int ircrandom(void); #endif /* INCLUDED_random_h */