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