Mercurial > dovecot > original-hg > dovecot-1.2
view src/pop3/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 | e4eb71ae8e96 |
children |
line wrap: on
line source
#ifndef COMMON_H #define COMMON_H #include "lib.h" #include "client.h" enum client_workarounds { WORKAROUND_OUTLOOK_NO_NULS = 0x01, WORKAROUND_OE_NS_EOH = 0x02 }; enum uidl_keys { UIDL_UIDVALIDITY = 0x01, UIDL_UID = 0x02, UIDL_MD5 = 0x04, UIDL_FILE_NAME = 0x08 }; extern struct ioloop *ioloop; extern enum client_workarounds client_workarounds; extern bool enable_last_command, no_flag_updates, reuse_xuidl, lock_session; extern bool save_uidl; extern const char *uidl_format, *logout_format; extern enum uidl_keys uidl_keymask; extern void (*hook_client_created)(struct client **client); #endif