view src/pop3/common.h @ 2976:96a4ab34c8f1 HEAD

Added pop3_uidl_format setting.
author Timo Sirainen <tss@iki.fi>
date Wed, 15 Dec 2004 22:05:15 +0200
parents 546214c0e6e9
children 9219e788d774
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
};

extern struct ioloop *ioloop;
extern enum client_workarounds client_workarounds;
extern int enable_last_command, no_flag_updates;
extern const char *uidl_format;
extern enum uidl_keys uidl_keymask;

extern void (*hook_mail_storage_created)(struct mail_storage **storage);
extern void (*hook_client_created)(struct client **client);

#endif