Mercurial > dovecot > original-hg > dovecot-1.2
view src/master/master-interface.h @ 100:867ec80dbf42 HEAD
Custom flags are now shown in FLAGS and PERMANENTFLAGS lists after SELECT.
It also warns if there's for some reason a duplicate index number in custom
flags file.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 29 Aug 2002 22:21:51 +0300 |
parents | 3b1985cbc908 |
children | ab3590c3a7d9 |
line wrap: on
line source
#ifndef __MASTER_INTERFACE_H #define __MASTER_INTERFACE_H #include "../auth/auth-interface.h" #define LOGIN_TAG_SIZE 32 #define LOGIN_MASTER_SOCKET_FD 0 #define LOGIN_IMAP_LISTEN_FD 1 #define LOGIN_IMAPS_LISTEN_FD 2 typedef enum { MASTER_RESULT_INTERNAL_FAILURE, MASTER_RESULT_SUCCESS, MASTER_RESULT_FAILURE } MasterReplyResult; typedef struct { int id; int auth_process; unsigned char cookie[AUTH_COOKIE_SIZE]; char login_tag[LOGIN_TAG_SIZE]; } MasterRequest; typedef struct { int id; MasterReplyResult result; } MasterReply; #endif