userdb-blocking.c revision f08c6da58d4cffc5b4777485ebc475dff614e491
/* Copyright (c) 2005-2014 Dovecot authors, see the included COPYING file */
#include "auth-common.h"
#include "str.h"
#include "auth-worker-server.h"
#include "userdb.h"
#include "userdb-blocking.h"
#include <stdlib.h>
struct blocking_userdb_iterate_context {
struct userdb_iterate_context ctx;
struct auth_worker_connection *conn;
bool next;
bool destroyed;
};
{
enum userdb_result result;
const char *args;
} else {
i_error("BUG: auth-worker sent invalid user reply");
args = "";
}
if (*args != '\0') {
}
return TRUE;
}
{
}
{
}
return TRUE;
}
struct userdb_iterate_context *
{
struct blocking_userdb_iterate_context *ctx;
}
{
struct blocking_userdb_iterate_context *ctx =
(struct blocking_userdb_iterate_context *)_ctx;
}
{
struct blocking_userdb_iterate_context *ctx =
(struct blocking_userdb_iterate_context *)*_ctx;
/* iter_callback() may still be called */
return ret;
}