client.h revision e5dec382163b476bed16dbf7eb470913a9bbdbe1
#ifndef CLIENT_H
#define CLIENT_H
#include "network.h"
#include "master.h"
#include "client-common.h"
/* Disconnect client after idling this many milliseconds */
struct imap_client {
int refcount;
struct imap_parser *parser;
struct timeout *to_authfail_delay;
struct login_proxy *proxy;
unsigned int bad_counter;
unsigned int login_success:1;
unsigned int cmd_finished:1;
unsigned int proxy_login_sent:1;
unsigned int skip_line:1;
unsigned int input_blocked:1;
unsigned int destroyed:1;
unsigned int greeting_sent:1;
unsigned int id_logged:1;
unsigned int auth_initializing:1;
};
#endif