view src/master/mail-process.h @ 4197:c3ded5b815aa HEAD

If we have plugins set and imap_capability unset, figure out the IMAP capabilities automatically by running imap binary at startup. The generated capability list isn't updated until Dovecot is restarted completely, so if you add or remove IMAP plugins you should restart.
author Timo Sirainen <tss@iki.fi>
date Fri, 14 Apr 2006 21:20:54 +0300
parents 55df57c028d4
children 414c0c45040e
line wrap: on
line source

#ifndef __MAIL_PROCESS_H
#define __MAIL_PROCESS_H

struct login_group;
struct auth_master_reply;

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

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_process_destroyed(pid_t pid);

#endif