Don't use $< in target rules in makefiles (backport from trunk)
[mmh] / h / scansbr.h
1
2 /*
3  * scansbr.h -- definitions for scan()
4  *
5  * $Id$
6  */
7
8 extern char *scanl;
9
10 #define SCNENC  2               /* message just fine, but encrypted(!!) */
11 #define SCNMSG  1               /* message just fine                    */
12 #define SCNEOF  0               /* empty message                        */
13 #define SCNERR  (-1)            /* error message                        */
14 #define SCNNUM  (-2)            /* number out of range                  */
15 #define SCNFAT  (-3)            /* fatal error                          */
16
17 /*
18  * default format for `scan' and `inc'
19  */
20
21 #ifndef UK
22 #define FORMAT  \
23 "%4(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %>\
24 %02(mon{date})/%02(mday{date})%<{date} %|*%>\
25 %<(mymbox{from})%<{to}To:%14(decode(friendly{to}))%>%>\
26 %<(zero)%17(decode(friendly{from}))%>  \
27 %(decode{subject})%<{body}<<%{body}>>%>\n"
28 #else
29 #define FORMAT  \
30 "%4(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %>\
31 %02(mday{date})/%02(mon{date})%<{date} %|*%>\
32 %<(mymbox{from})%<{to}To:%14(decode(friendly{to}))%>%>\
33 %<(zero)%17(decode(friendly{from}))%>  \
34 %(decode{subject})%<{body}<<%{body}>>%>\n"
35 #endif
36
37 #define WIDTH  78
38
39 /*
40  * prototypes
41  */
42 int scan (FILE *, int, int, char *, int, int, int, char *, long, int);