mh_xstrdup arguments now const
[mmh] / h / mf.h
1 /*
2 ** mf.h -- include file for mailbox filters
3 */
4
5 #ifndef TRUE
6 # define TRUE 1
7 #endif
8
9 #ifndef FALSE
10 # define FALSE 0
11 #endif
12
13 #ifndef NOTOK
14 # define NOTOK (-1)
15 #endif
16
17 #ifndef OK
18 # define OK 0
19 #endif
20
21 #ifndef DONE
22 # define DONE 1
23 #endif
24
25
26 struct adrx {
27         char *text;
28         char *pers;
29         char *mbox;
30         char *host;
31         char *path;
32         char *grp;
33         int ingrp;
34         char *note;
35         char *err;
36 };
37
38
39 /*
40 ** prototypes
41 */
42 char *legal_person(char *);
43 struct adrx *getadrx(char *);