view src/master/common.h @ 9348:3eacb6bbd227 HEAD

Added pop3_save_uidl setting. When UIDLs are sent to client, save them to dovecot-uidlist. This allows changing pop3_uidl_format without messages getting re-downloaded. It's also useful with virtual POP3 INBOX when UIDLs are based on IMAP UIDs that may not be as stable as in non-virtual INBOX.
author Timo Sirainen <tss@iki.fi>
date Mon, 31 Aug 2009 18:53:17 -0400
parents c9381a0fdc5e
children
line wrap: on
line source

#ifndef COMMON_H
#define COMMON_H

struct ip_addr;

#include "lib.h"
#include "master-settings.h"

#define AUTH_SUCCESS_PATH PKG_STATEDIR"/auth-success"

extern struct ioloop *ioloop;
extern int null_fd, inetd_login_fd;
extern uid_t master_uid;
extern char program_path[];
extern char ssl_manual_key_password[];
extern const char *env_tz;
extern bool auth_success_written;
extern bool core_dumps_disabled;
#ifdef DEBUG
extern bool gdb;
#endif

#define IS_INETD() \
	(inetd_login_fd != -1)

#endif