Activated Jon's attachment system by default and steamlined it.
[mmh] / h / mh.h
diff --git a/h/mh.h b/h/mh.h
index 73845a4..116abdb 100644 (file)
--- a/h/mh.h
+++ b/h/mh.h
@@ -65,8 +65,6 @@ struct swit {
 
 extern struct swit anoyes[];   /* standard yes/no switches */
 
-#define ATTACHFORMATS 3        /* Number of send attach formats. */
-
 /*
 ** general folder attributes
 */
@@ -87,15 +85,14 @@ typedef unsigned int seqset_t;
 */
 #define EXISTS        (1<<0)    /* exists            */
 #define SELECTED      (1<<1)    /* selected for use  */
-#define SELECT_EMPTY  (1<<2)    /* "new" message     */
-#define SELECT_UNSEEN (1<<3)    /* inc/show "unseen" */
+#define SELECT_UNSEEN (1<<2)    /* inc/show "unseen" */
 
-#define MBITS "\020\01EXISTS\02SELECTED\03NEW\04UNSEEN"
+#define MBITS "\020\01EXISTS\02SELECTED\03UNSEEN"
 
 /*
 ** first free slot for user-defined sequences
 */
-#define FFATTRSLOT  4
+#define FFATTRSLOT  3
 
 /*
 ** Determine the number of user defined sequences we
@@ -174,9 +171,6 @@ struct msgs {
 #define unset_selected(mp,msgnum)  ((mp)->msgstats[(msgnum) - mp->lowoff] &= ~SELECTED)
 #define set_selected(mp,msgnum)  ((mp)->msgstats[(msgnum) - mp->lowoff] |= SELECTED)
 
-#define is_select_empty(mp,msgnum)  ((mp)->msgstats[(msgnum) - mp->lowoff] & SELECT_EMPTY)
-#define set_select_empty(mp,msgnum)  ((mp)->msgstats[(msgnum) - mp->lowoff] |= SELECT_EMPTY)
-
 #define is_unseen(mp,msgnum)  ((mp)->msgstats[(msgnum) - mp->lowoff] & SELECT_UNSEEN)
 #define unset_unseen(mp,msgnum)  ((mp)->msgstats[(msgnum) - mp->lowoff] &= ~SELECT_UNSEEN)
 #define set_unseen(mp,msgnum)  ((mp)->msgstats[(msgnum) - mp->lowoff] |= SELECT_UNSEEN)
@@ -292,6 +286,7 @@ extern char *mailstore;      /* name of mail storage directory  */
 ** their values and reloading the various modules, nmh will run
 ** on any system.
 */
+extern char *attach_hdr;
 extern char *buildmimeproc;
 extern char *backup_prefix;
 extern char *altmsglink;