Mercurial > dovecot > original-hg > dovecot-1.2
view src/pop3-login/client.h @ 1275:af685269ead0 HEAD
login: Wait until we're connected to auth process before executing command
from client.
inetd usage: --group=name can now specify which login group to use. Default
is the binary name before '-' character (ie. imap or pop3).
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 05 Mar 2003 00:38:07 +0200 |
parents | b5b172ab0ed9 |
children | 43815588dd6b |
line wrap: on
line source
#ifndef __CLIENT_H #define __CLIENT_H #include "network.h" #include "master.h" #include "client-common.h" struct pop3_client { struct client common; time_t created; int refcount; struct istream *input; struct ostream *output; time_t last_input; unsigned int bad_counter; buffer_t *plain_login; unsigned int tls:1; unsigned int input_blocked:1; unsigned int destroyed:1; }; struct client *client_create(int fd, struct ip_addr *ip, int ssl); void client_destroy(struct pop3_client *client, const char *reason); void client_ref(struct pop3_client *client); int client_unref(struct pop3_client *client); void client_send_line(struct pop3_client *client, const char *line); void client_syslog(struct pop3_client *client, const char *text); int client_read(struct pop3_client *client); void client_input(void *context); void clients_init(void); void clients_deinit(void); #endif