userdb-blocking.c revision 1d22eaac93de41319918a1fc6de42bb302e25c1a
/* Copyright (c) 2005-2010 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;
};
{
enum userdb_result result;
} else {
i_error("BUG: auth-worker sent invalid user reply");
}
return TRUE;
}
{
struct auth_stream_reply *reply;
}
{
return TRUE;
} else {
return TRUE;
}
}
struct userdb_iterate_context *
{
struct blocking_userdb_iterate_context *ctx;
struct auth_stream_reply *reply;
}
{
struct blocking_userdb_iterate_context *ctx =
(struct blocking_userdb_iterate_context *)_ctx;
}
{
struct blocking_userdb_iterate_context *ctx =
(struct blocking_userdb_iterate_context *)*_ctx;
return ret;
}