X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=h%2Fscansbr.h;h=bf2e88f878c013750079567d906411baa31a4d8f;hb=aa2b40c1486629abb9cc4628f38f0ce88be05ed6;hp=d3b1c9fa4b73963152d9a316f567697bde008c24;hpb=a485ed478abbd599d8c9aab48934e7a26733ecb1;p=mmh diff --git a/h/scansbr.h b/h/scansbr.h index d3b1c9f..bf2e88f 100644 --- a/h/scansbr.h +++ b/h/scansbr.h @@ -1,6 +1,6 @@ /* - * scansbr.h -- definitions for scan() - */ +** scansbr.h -- definitions for scan() +*/ extern char *scanl; @@ -12,27 +12,17 @@ extern char *scanl; #define SCNFAT (-3) /* fatal error */ /* - * default format for `scan' and `inc' - */ -#ifndef UK +** default format for `scan' and `inc' +*/ # define FORMAT \ -"%4(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %>\ -%02(mon{date})/%02(mday{date})%<{date} %|*%>\ +"=%4(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %>\ +%4(year{date})-%02(mon{date})-%02(mday{date}) \ %<(mymbox{from})%<{to}To:%14(decode(friendly{to}))%>%>\ -%<(zero)%17(decode(friendly{from}))%> \ -%(decode{subject})%<{body}<<%{body}>>%>\n" -#else -# define FORMAT \ -"%4(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %>\ -%02(mday{date})/%02(mon{date})%<{date} %|*%>\ -%<(mymbox{from})%<{to}To:%14(decode(friendly{to}))%>%>\ -%<(zero)%17(decode(friendly{from}))%> \ -%(decode{subject})%<{body}<<%{body}>>%>\n" -#endif +%<(zero)%17(decode(friendly{from}))%> %(decode{subject})\n" #define WIDTH 78 /* - * prototypes - */ -int scan (FILE *, int, int, char *, int, int, int, char *, long, int); +** prototypes +*/ +int scan(FILE *, int, int, char *, int, int, int, char *, long, int);