lib.c revision 45312f52ff3a3d4c137447be4c7556500c2f8bf2
/* Copyright (c) 2001-2009 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "hostpid.h"
#include <stdlib.h>
#include <time.h>
{
size_t n = 1;
while (n < num) n <<= 1;
return n;
}
void lib_init(void)
{
/* standard way to get rand() return different values. */
hostpid_init();
}
void lib_deinit(void)
{
}