1 /* mf.h - include file for mailbox filters */
2 /* @(#)$Id: mf.h,v 1.3 1992/12/15 00:20:22 jromine Exp $ */
4 #include "../h/strings.h"
28 #define OWIDTH 75 /* length of a header line */
30 #define HFROM 1 /* header has From: component */
31 #define HSNDR 2 /* header has Sender: component */
32 #define HADDR 3 /* header has address component */
33 #define HDATE 4 /* header has Date: component */
34 #define HOTHR 5 /* header is unimportant */
53 * Codes returned by uucp2mmdf(), mmdf2uucp()
56 #define MFOK 0 /* all went well */
57 /* remaining codes must > DONE */
58 #define MFPRM 2 /* bad parameter */
59 #define MFSIO 3 /* stdio package went screwy */
60 #define MFROM 4 /* from line was bad */
61 #define MFHDR 5 /* headers were bad */
62 #define MFTXT 6 /* text was bad */
63 #define MFERR 7 /* I/O or system error */
64 #define MFDLM 8 /* Bad delimiter in MMDF file */
67 int isfrom (), lequal (), mfgets ();
68 char *legal_person ();
69 struct adrx *seekadrx (), *getadrx (), *uucpadrx ();