Mercurial > dovecot > original-hg > dovecot-1.2
view src/login-common/master.h @ 9448:ab32d7e2c0d6 HEAD
imap-login: If imap_capability is set, show it in the banner instead of the default.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 20 Oct 2009 15:49:01 -0400 |
parents | 29b623366e1e |
children |
line wrap: on
line source
#ifndef MASTER_H #define MASTER_H struct client; #include "../master/master-login-interface.h" typedef void master_callback_t(struct client *client, const struct master_login_reply *reply); void master_request_login(struct client *client, master_callback_t *callback, unsigned int auth_pid, unsigned int auth_id); void master_request_abort(struct client *client); /* Notify master of a change in our state */ void master_notify_state_change(enum master_login_state state); /* Close connection to master process */ void master_close(void); /* inetd: Connect to existing master process, or create new one. */ int master_connect(const char *group_name); void master_init(int fd); void master_deinit(void); #endif