X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=h%2Fmh.h;h=73845a41fbc77d6cd79f21ff033f203c64659b22;hb=2c8265621a3526d1d6791d28bef778df49501a29;hp=b8896d1afc5d4c065eaece397aeeaaca9c2ebc5e;hpb=3cc8ed080f6e741b8df04a3ebe764c659e75cb38;p=mmh diff --git a/h/mh.h b/h/mh.h index b8896d1..73845a4 100644 --- a/h/mh.h +++ b/h/mh.h @@ -70,12 +70,12 @@ extern struct swit anoyes[]; /* standard yes/no switches */ /* ** general folder attributes */ -#define READONLY (1<<0) /* No write access to folder */ -#define SEQMOD (1<<1) /* folder's sequences modifed */ -#define ALLOW_NEW (1<<2) /* allow the "new" sequence */ -#define OTHERS (1<<3) /* folder has other files */ +#define READONLY (1<<0) /* No write access to folder */ +#define SEQMOD (1<<1) /* folder's sequences modifed */ +#define ALLOW_BEYOND (1<<2) /* allow the beyond sequence */ +#define OTHERS (1<<3) /* folder has other files */ -#define FBITS "\020\01READONLY\02SEQMOD\03ALLOW_NEW\04OTHERS" +#define FBITS "\020\01READONLY\02SEQMOD\03ALLOW_BEYOND\04OTHERS" /* ** type for holding the sequence set of a message @@ -83,28 +83,26 @@ extern struct swit anoyes[]; /* standard yes/no switches */ typedef unsigned int seqset_t; /* -** Determine the number of user defined sequences we -** can have. The first 5 sequence flags are for -** internal nmh message flags. +** internal messages attributes (sequences) */ -#define NUMATTRS ((sizeof(seqset_t) * Nbby) - 5) +#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 MBITS "\020\01EXISTS\02SELECTED\03NEW\04UNSEEN" /* -** first free slot for user defined sequences -** and attributes +** first free slot for user-defined sequences */ -#define FFATTRSLOT 5 +#define FFATTRSLOT 4 /* -** internal messages attributes (sequences) +** Determine the number of user defined sequences we +** can have. The first few sequence flags are for +** internal nmh message flags. */ -#define EXISTS (1<<0) /* exists */ -#define DELETED (1<<1) /* deleted */ -#define SELECTED (1<<2) /* selected for use */ -#define SELECT_EMPTY (1<<3) /* "new" message */ -#define SELECT_UNSEEN (1<<4) /* inc/show "unseen" */ - -#define MBITS "\020\01EXISTS\02DELETED\03SELECTED\04NEW\05UNSEEN" +#define NUMATTRS ((sizeof(seqset_t) * Nbby) - FFATTRSLOT) /* ** Primary structure of folder/message information