Revision 12455,
1.2 KB
checked in by danw, 26 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r12454,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | |
---|
2 | /* |
---|
3 | * scansbr.h -- definitions for scan() |
---|
4 | * |
---|
5 | * $Id: scansbr.h,v 1.1.1.1 1999-02-07 18:14:06 danw Exp $ |
---|
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); |
---|
Note: See
TracBrowser
for help on using the repository browser.