]> diplodocus.org Git - nmh/blob - sbr/m_msgdef.c
Fix stupid accidental dependence on a bash quirk in previous
[nmh] / sbr / m_msgdef.c
1
2 /*
3 * m_msgdef.c -- some defines for sbr/m_getfld.c
4 *
5 * $Id$
6 *
7 * This code is Copyright (c) 2002, by the authors of nmh. See the
8 * COPYRIGHT file in the root directory of the nmh distribution for
9 * complete copyright information.
10 */
11
12 #include <h/mh.h>
13
14 /*
15 * disgusting hack for "inc" so it can know how many characters
16 * were stuffed in the buffer on the last call (see comments
17 * in uip/scansbr.c)
18 */
19 int msg_count = 0;
20
21 int msg_style = MS_DEFAULT;
22
23 /*
24 * The "full" delimiter string for a packed maildrop consists
25 * of a newline followed by the actual delimiter. E.g., the
26 * full string for a Unix maildrop would be: "\n\nFrom ".
27 * "Fdelim" points to the start of the full string and is used
28 * in the BODY case of the main routine to search the buffer for
29 * a possible eom. Msg_delim points to the first character of
30 * the actual delim. string (i.e., fdelim+1). Edelim
31 * points to the 2nd character of actual delimiter string. It
32 * is used in m_Eom because the first character of the string
33 * has been read and matched before m_Eom is called.
34 */
35 char *msg_delim = "";