/* Copyright (c) 2013-2018 Dovecot authors, see the included COPYING file */
#include "auth-common.h"
#include "userdb.h"
#include "ioloop.h"
#include "array.h"
#include "str.h"
#include "auth-cache.h"
#include "db-dict.h"
#include <dict.h>
struct dict_userdb_module {
};
struct dict_userdb_iterate_context {
const char *key_prefix;
};
static int
struct db_dict_value_iter *iter)
{
}
return -1;
}
return 0;
}
{
(struct dict_userdb_module *)_module;
int ret;
"No userdb_objects or userdb_fields specified");
return;
}
&iter);
if (ret < 0)
else if (ret == 0) {
} else {
else
}
}
static struct userdb_iterate_context *
{
(struct dict_userdb_module *)_module;
const char *error;
"iterate: iterate_prefix not set");
}
}
"Failed to expand iterate_prefix=%s: %s",
}
}
static const char *
{
}
{
(struct dict_userdb_iterate_context *)_ctx;
else
}
{
(struct dict_userdb_iterate_context *)_ctx;
const char *error;
i_error("dict_iterate(%s) failed: %s",
ret = -1;
}
}
return ret;
}
static struct userdb_module *
{
}
{
(struct dict_userdb_module *)_module;
}
{
"dict",
NULL,
};