client.c revision 97db4761382024093f441e4bc78ba8b6a056504d
c0435c854a0e7246373b9752d163095cc4fbe985Timo Sirainen/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
c0435c854a0e7246373b9752d163095cc4fbe985Timo Sirainen/* max. size of output buffer. if it gets full, the client is disconnected.
c0435c854a0e7246373b9752d163095cc4fbe985Timo Sirainen SASL authentication gives the largest output. */
#define AUTH_SERVER_WAITING_MSG \
#define AUTH_MASTER_WAITING_MSG \
const char *addr;
const unsigned char *data;
for (i = 0; i < data_size; i++) {
return TRUE;
return FALSE;
const char *auths;
int fd_ssl;
int ret;
if (ret > 0) {
if (!ssl_initialized) {
const char *msg;
int ret;
bool fatal;
return FALSE;
if (fatal) {
return FALSE;
return TRUE;
return FALSE;
i_unreached();
if (ret < 0) {
return FALSE;
return ret != 0;
return FALSE;
return FALSE;
return TRUE;
return TRUE;
void client_destroy_oldest(void)
unsigned int max_connections =
unsigned int i, destroy_count;
for (i = 0; i < destroy_count; i++) {
sizeof(destroy_buf) -
for (i = 0; i < destroy_count; i++) {
NULL);
return TRUE;
return FALSE;
void clients_notify_auth_connected(void)
void clients_destroy_all(void)
void clients_init(void)
void clients_deinit(void)