ipwd.c revision 60bdf7c0422caeb08cc615c60b659d4d1ff30614
/* Copyright (c) 2011 Dovecot authors, see the included COPYING file */
#define _POSIX_PTHREAD_SEMANTICS /* for Solaris */
#include "lib.h"
#include "ipwd.h"
#include <unistd.h>
#define DEFAULT_PWBUF_SIZE 16384
#define DEFAULT_GRBUF_SIZE 16384
static void pw_init(void)
{
long size;
if (size < 0)
pwbuf_size = size;
}
}
static void gr_init(void)
{
long size;
if (size < 0)
grbuf_size = size;
}
}
void ipwd_deinit(void)
{
}
{
pw_init();
return 1;
return errno == 0 ? 0 : -1;
}
{
pw_init();
return 1;
return errno == 0 ? 0 : -1;
}
{
gr_init();
return 1;
return errno == 0 ? 0 : -1;
}
{
gr_init();
return 1;
return errno == 0 ? 0 : -1;
}