X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ae6d25b39b09560916481983b30d3b09ccf9390e..167e542b:/h/msh.h?ds=sidebyside diff --git a/h/msh.h b/h/msh.h index fb80f23d..4e0314de 100644 --- a/h/msh.h +++ b/h/msh.h @@ -22,7 +22,13 @@ struct Cmd { #define MHNCHK 0x0001 /* did nontext check */ #define MHNYES 0x0002 /* .. and known to be non-text */ -#define CUR (1 << (FFATTRSLOT + NUMATTRS - 1)) +/* + * Determine the number of user defined sequences we + * can have. The first FFATTRSLOT sequence flags are for + * internal nmh message flags. + */ +#define NUMATTRS (27) +#define CUR (FFATTRSLOT + NUMATTRS - 1) #ifdef BPOP # define VIRTUAL SELECT_EMPTY @@ -37,7 +43,7 @@ struct Msg { char *m_scanl; struct tws m_tb; short m_flags; - seqset_t m_stats; + bvector_t m_stats; }; #define m_bboard_id m_drop.d_id @@ -53,7 +59,7 @@ extern int modified; /* command modified folder */ extern struct msgs *mp; /* used a lot */ extern struct Msg *Msgs; /* Msgs[0] not used */ -FILE *msh_ready (); +FILE *msh_ready (int, int); /* * COMMAND