summaryrefslogtreecommitdiff
path: root/imap4d/imap4d.h
diff options
context:
space:
mode:
Diffstat (limited to 'imap4d/imap4d.h')
-rw-r--r--imap4d/imap4d.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/imap4d/imap4d.h b/imap4d/imap4d.h
index b74a472c9..0f76f82ef 100644
--- a/imap4d/imap4d.h
+++ b/imap4d/imap4d.h
@@ -82,6 +82,8 @@
#include <mailutils/stream.h>
#include <mailutils/mutil.h>
+#include <mu_argp.h>
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -104,10 +106,6 @@ struct imap4d_command
char *tag;
};
-/* Daemon modes. */
-#define INTERACTIVE 0
-#define DAEMON 1
-
/* Global variables and constants*/
#define STATE_NONE (0)
#define STATE_NONAUTH (1 << 0)
@@ -140,15 +138,14 @@ struct imap4d_command
extern struct imap4d_command imap4d_command_table[];
extern FILE *ofile;
-extern unsigned int timeout;
extern mailbox_t mbox;
extern char *homedir;
extern char *rootdir;
-extern char *maildir;
extern int state;
extern volatile size_t children;
extern int is_virtual;
-
+extern struct daemon_param daemon_param;
+
#ifndef HAVE_STRTOK_R
extern char *strtok_r __P((char *s, const char *delim, char **save_ptr));
#endif

Return to:

Send suggestions and report system problems to the System administrator.