#ifndef _MBOX_H
#define _MBOX_H
-#include <sys/stat.h>
-
#include "mx.h"
+extern mx_t const mbox_mx;
+extern mx_t const mmdf_mx;
+
/* TODO all of these must disappear to achieve good information hiding */
#define MMDF_SEP "\001\001\001\001\n"
int mbox_close_mailbox (CONTEXT *);
int mbox_lock_mailbox (CONTEXT *, int, int);
-void mbox_unlock_mailbox (CONTEXT *);
int mbox_check_empty (const char*);
int mbox_is_magic (const char*, struct stat*);
-mx_t* mbox_reg_mx (void);
-mx_t* mmdf_reg_mx (void);
-
#endif