view src/master/mail-process.h @ 5843:f655c4d4a419 HEAD

Moved child process handling to child-process.[ch]. The hash table now uses pointers to structures instead of a casted process type. This allowed removing another login-processes hash table.
author Timo Sirainen <tss@iki.fi>
date Sat, 30 Jun 2007 17:38:17 +0300
parents 414c0c45040e
children 21e529b8a701
line wrap: on
line source

#ifndef __MAIL_PROCESS_H
#define __MAIL_PROCESS_H

#include "child-process.h"

struct login_group;
struct auth_master_reply;

void mail_process_exec(const char *protocol, const char *section)
	__attr_noreturn__;

bool create_mail_process(enum process_type process_type, struct settings *set,
			 int socket, const struct ip_addr *local_ip,
			 const struct ip_addr *remote_ip,
			 const char *user, const char *const *args,
			 bool dump_capability);

void mail_processes_init(void);

#endif