Mercurial > dovecot > original-hg > dovecot-1.2
diff src/login/client.h @ 919:5ebec31b49e0 HEAD
Login process now uses the same imap-parser as the imap process itself. This
fixes the problem of literals not working before logging in.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 07 Jan 2003 19:45:38 +0200 |
parents | fd8888f6f037 |
children | 0da2cb9368f6 |
line wrap: on
line diff
--- a/src/login/client.h Tue Jan 07 19:44:23 2003 +0200 +++ b/src/login/client.h Tue Jan 07 19:45:38 2003 +0200 @@ -12,14 +12,16 @@ struct io *io; struct istream *input; struct ostream *output; + struct imap_parser *parser; time_t last_input; - char *tag; + const char *cmd_tag, *cmd_name; buffer_t *plain_login; struct auth_request *auth_request; unsigned int tls:1; + unsigned int cmd_finished:1; }; struct client *client_create(int fd, struct ip_addr *ip, int imaps);