Mercurial > dovecot > original-hg > dovecot-1.2
view src/login/client.h @ 928:0da2cb9368f6 HEAD
AUTHENTICATE command was broken.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 09 Jan 2003 01:55:44 +0200 |
parents | 5ebec31b49e0 |
children | fdcc1cab13ff |
line wrap: on
line source
#ifndef __CLIENT_H #define __CLIENT_H #include "network.h" struct client { time_t created; int refcount; struct ip_addr ip; int fd; struct io *io; struct istream *input; struct ostream *output; struct imap_parser *parser; time_t last_input; const char *cmd_tag, *cmd_name; buffer_t *plain_login; struct auth_request *auth_request; unsigned int tls:1; unsigned int cmd_finished:1; unsigned int skip_line:1; }; struct client *client_create(int fd, struct ip_addr *ip, int imaps); void client_destroy(struct client *client, const char *reason); void client_ref(struct client *client); int client_unref(struct client *client); void client_send_line(struct client *client, const char *line); void client_send_tagline(struct client *client, const char *line); void client_syslog(struct client *client, const char *text); int client_read(struct client *client); void client_input(void *context, int fd, struct io *io); unsigned int clients_get_count(void); void clients_destroy_all(void); void clients_init(void); void clients_deinit(void); #endif