Current File : /home/inlingua/public_html/decay_sym/root/usr/local/apps/dovecot/include/dovecot/randgen.h
#ifndef RANDGEN_H
#define RANDGEN_H

/* Fill given buffer with semi-strong randomness */
void random_fill(void *buf, size_t size);

/* may be called multiple times,
   and are called by default in lib_init */
void random_init(void);
void random_deinit(void);

#ifdef DEBUG
/* Debug helper to make random tests reproduceable. 0=got seed, -1=failure. */
int rand_get_last_seed(unsigned int *seed_r);
#endif

#endif