]> diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/sbr/m_msgdef.c
Always check that mktemp()/mktemp2() succeeds before trying to
[nmh] / docs / historical / mh-6.8.5 / sbr / m_msgdef.c
1 /* m_msgdef.c - some defines for sbr/m_getfld.c */
2 #ifndef lint
3 static char ident[] = "@(#)$Id: m_msgdef.c,v 1.2 1992/12/15 00:20:22 jromine Exp $";
4 #endif /* lint */
5 #include "../h/mh.h"
6
7 int msg_count = 0; /* disgusting hack for "inc" so it can
8 * know how many characters were stuffed
9 * in the buffer on the last call (see
10 * comments in uip/scansbr.c) */
11
12 int msg_style = MS_DEFAULT;
13 /*
14 * The "full" delimiter string for a packed maildrop consists
15 * of a newline followed by the actual delimiter. E.g., the
16 * full string for a Unix maildrop would be: "\n\nFrom ".
17 * "Fdelim" points to the start of the full string and is used
18 * in the BODY case of the main routine to search the buffer for
19 * a possible eom. Msg_delim points to the first character of
20 * the actual delim. string (i.e., fdelim+1). Edelim
21 * points to the 2nd character of actual delimiter string. It
22 * is used in m_Eom because the first character of the string
23 * has been read and matched before m_Eom is called.
24 */
25 char *msg_delim = "";