* in a particular sequence.
*/
seqset_t *msgstats; /* msg status */
+
+ /*
+ * A FILE handle containing an open filehandle for the sequence file
+ * for this folder. If non-NULL, use it when the sequence file is
+ * written.
+ */
+ FILE *seqhandle;
+
+ /*
+ * The name of the public sequence file; required by lkfclose()
+ */
+ char *seqname;
};
/*
#define FMTERR (-3) /* Message Format error */
#define FLD 0 /* Field returned */
#define FLDPLUS 1 /* Field returned with more to come */
-#define FLDEOF 2 /* Field returned ending at eom */
#define BODY 3 /* Body returned with more to come */
-#define BODYEOF 4 /* Body returned ending at eom */
#define FILEEOF 5 /* Reached end of input file */
+struct m_getfld_state;
+typedef struct m_getfld_state *m_getfld_state_t;
+
/*
* Maildrop styles
*/
#define MS_MMDF 3 /* string mmdlm2 */
#define MS_MSH 4 /* whacko msh */
-extern int msg_count; /* m_getfld() indicators */
-extern int msg_style; /* .. */
-extern char *msg_delim; /* .. */
-
#define NOUSE 0 /* draft being re-used */
#define TFOLDER 0 /* path() given a +folder */
extern char *components;
extern char *context;
extern char *current;
-extern char *defaulteditor;
extern char *defaultfolder;
extern char *digestcomps;
extern char *distcomps;
extern char *forwcomps;
extern char *inbox;
extern char *incproc;
-extern char *installproc;
extern char *lproc;
extern char *mailproc;
extern char *mh_defaults;
extern char *msgprot;
extern char *mshproc;
extern char *nmhaccessftp;
+extern char *nmhaccessurl;
extern char *nmhstorage;
extern char *nmhcache;
extern char *nmhprivcache;