]> diplodocus.org Git - nmh/blob - h/mf.h
cppflags.m4: Don't trample CFLAGS and CPPFLAGS.
[nmh] / h / mf.h
1 /* mf.h -- include file for mailbox filters
2 */
3
4 #include <h/nmh.h>
5
6 #ifndef TRUE
7 # define TRUE 1
8 #endif
9
10 #ifndef FALSE
11 # define FALSE 0
12 #endif
13
14 #ifndef NOTOK
15 # define NOTOK (-1)
16 #endif
17
18 #ifndef OK
19 # define OK 0
20 #endif
21
22 #ifndef DONE
23 # define DONE 1
24 #endif
25
26
27 struct adrx {
28 char *text;
29 char *pers;
30 char *mbox;
31 char *host;
32 char *path;
33 char *grp;
34 int ingrp;
35 char *note;
36 char *err;
37 };
38
39
40 /*
41 * prototypes
42 */
43 char *legal_person (const char *);
44 struct adrx *getadrx (const char *, int);