2 ** scansbr.h -- definitions for scan()
7 #define SCNMSG 1 /* message just fine */
8 #define SCNEOF 0 /* empty message */
9 #define SCNERR (-1) /* error message */
10 #define SCNNUM (-2) /* number out of range */
11 #define SCNFAT (-3) /* fatal error */
14 ** default format for `scan' and `inc'
17 "=%4(msg)%<(cur)+%| %>%<{replied}-%| %>\
18 %4(year{date})-%02(mon{date})-%02(mday{date}) %02(hour{date}):%02(min{date}) \
19 %<(mymbox{from})%<{to}To:%14(decode(friendly{to}))%>%>\
20 %<(zero)%17(decode(friendly{from}))%> %(decode{subject})\n"
30 int scan(FILE *, int, int, char *, int, int, int);