]> diplodocus.org Git - nmh/blob - h/mf.h
Fix invalid pointer arithmetic.
[nmh] / h / mf.h
1 /* mf.h -- include file for mailbox filters
2 */
3
4 #include <h/nmh.h>
5
6 #ifndef NOTOK
7 # define NOTOK (-1)
8 #endif
9
10 #ifndef OK
11 # define OK 0
12 #endif
13
14 #ifndef DONE
15 # define DONE 1
16 #endif
17
18
19 struct adrx {
20 char *text;
21 char *pers;
22 char *mbox;
23 char *host;
24 char *path;
25 char *grp;
26 int ingrp;
27 char *note;
28 char *err;
29 };
30
31
32 /*
33 * prototypes
34 */
35 char *legal_person (const char *);
36 struct adrx *getadrx (const char *, int);