X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/05c165ab63cf2ec3b4855950cda99ec8018ccd1d..1a2ef2eed6ab723cbf2280c01cb6e1a0500d4001:/sbr/m_getfld.c diff --git a/sbr/m_getfld.c b/sbr/m_getfld.c index 1ea5b8b4..d74f3869 100644 --- a/sbr/m_getfld.c +++ b/sbr/m_getfld.c @@ -205,6 +205,14 @@ static int m_Eom (m_getfld_state_t); #define eom(c,s) (s->msg_style != MS_DEFAULT && \ ((c) == *s->msg_delim && m_Eom(s))) +/* + * Maildrop styles + */ +#define MS_DEFAULT 0 /* default (one msg per file) */ +#define MS_UNKNOWN 1 /* type not known yet */ +#define MS_MBOX 2 /* Unix-style "from" lines */ +#define MS_MMDF 3 /* string MMDF_DELIM */ + /* This replaces the old approach, with its direct access to stdio * internals. It uses one fread() to load a buffer that we manage. *