Mercurial > dovecot > original-hg > dovecot-1.2
comparison 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 |
comparison
equal
deleted
inserted
replaced
918:23b42ffe8756 | 919:5ebec31b49e0 |
---|---|
10 | 10 |
11 int fd; | 11 int fd; |
12 struct io *io; | 12 struct io *io; |
13 struct istream *input; | 13 struct istream *input; |
14 struct ostream *output; | 14 struct ostream *output; |
15 struct imap_parser *parser; | |
15 | 16 |
16 time_t last_input; | 17 time_t last_input; |
17 char *tag; | 18 const char *cmd_tag, *cmd_name; |
18 | 19 |
19 buffer_t *plain_login; | 20 buffer_t *plain_login; |
20 struct auth_request *auth_request; | 21 struct auth_request *auth_request; |
21 | 22 |
22 unsigned int tls:1; | 23 unsigned int tls:1; |
24 unsigned int cmd_finished:1; | |
23 }; | 25 }; |
24 | 26 |
25 struct client *client_create(int fd, struct ip_addr *ip, int imaps); | 27 struct client *client_create(int fd, struct ip_addr *ip, int imaps); |
26 void client_destroy(struct client *client, const char *reason); | 28 void client_destroy(struct client *client, const char *reason); |
27 | 29 |