projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove mx_{pop,nntp,imap}.[hc]
[apps/madmutt.git]
/
mbox.h
diff --git
a/mbox.h
b/mbox.h
index
5379c56
..
fc9a6fd
100644
(file)
--- a/
mbox.h
+++ b/
mbox.h
@@
-15,23
+15,18
@@
#ifndef _MBOX_H
#define _MBOX_H
#ifndef _MBOX_H
#define _MBOX_H
-#include <sys/stat.h>
-
#include "mx.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"
/* TODO all of these must disappear to achieve good information hiding */
#define MMDF_SEP "\001\001\001\001\n"
-int mbox_check_mailbox (CONTEXT *, int *);
int mbox_close_mailbox (CONTEXT *);
int mbox_lock_mailbox (CONTEXT *, int, int);
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_check_empty (const char*);
int mbox_is_magic (const char*, struct stat*);
int mbox_is_magic (const char*, struct stat*);
-int mbox_strict_cmp_headers (const HEADER *, const HEADER *);
-
-mx_t* mbox_reg_mx (void);
-mx_t* mmdf_reg_mx (void);
#endif
#endif