userdb-static.c revision 22535a9e685e29214082878e37a267157044618e
/* Copyright (C) 2003 Timo Sirainen */
#include "config.h"
#ifdef USERDB_STATIC
#include "common.h"
#include "str.h"
#include "var-expand.h"
#include "userdb.h"
#include <stdlib.h>
static uid_t static_uid;
static gid_t static_gid;
static char *static_home_template;
{
}
static void static_init(const char *args)
{
const char *const *tmp;
static_uid = 0;
static_gid = 0;
if (**tmp == '\0')
continue;
} else {
}
}
if (static_uid == 0)
i_fatal("static userdb: uid missing");
if (static_gid == 0)
i_fatal("static userdb: gid missing");
if (static_home_template == NULL)
i_fatal("static userdb: home option missing");
}
static void static_deinit(void)
{
}
struct userdb_module userdb_static = {
};
#endif