view src/master/login-process.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 ca964325664e
children
line wrap: on
line source

#ifndef LOGIN_PROCESS_H
#define LOGIN_PROCESS_H

#include "child-process.h"

struct login_group {
	struct login_group *next;
	int refcount;

	enum process_type mail_process_type;
	struct settings *set;

	unsigned int processes;
	unsigned int listening_processes;
	unsigned int wanted_processes_count;
	time_t last_limit_warning;

	/* if login_process_per_connection=yes this contains the list of
	   processes that are in LOGIN_STATE_FULL_PRELOGINS state */
	struct login_process *oldest_prelogin_process;
	struct login_process *newest_prelogin_process;
};

void login_processes_destroy_all(void);

void login_processes_init(void);
void login_processes_deinit(void);

#endif