X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=h%2Ffmt_scan.h;h=d8fab615e181a617c396957d6879baeddc66d72a;hb=0d33f1e27c4edb7290ef51cd03d50c0dbc9059ef;hp=cece50e002bcf15ffcef91c15a06fc859875c43d;hpb=cafee7a804b8aa53166065e988ec0fc387862fc8;p=mmh diff --git a/h/fmt_scan.h b/h/fmt_scan.h index cece50e..d8fab61 100644 --- a/h/fmt_scan.h +++ b/h/fmt_scan.h @@ -1,8 +1,6 @@ /* * fmt_scan.h -- definitions for fmt_scan() - * - * $Id$ */ /* @@ -41,6 +39,7 @@ struct comp { #define CF_TRUE (1<<0) /* usually means component is present */ #define CF_PARSED (1<<1) /* address/date has been parsed */ #define CF_DATEFAB (1<<2) /* datefield fabricated */ +#define CF_TRIMMED (1<<3) /* Component has been trimmed */ extern int fmt_norm; @@ -63,7 +62,8 @@ extern struct comp *wantcomp[128]; #define FINDCOMP(comp,name) \ for (comp = wantcomp[CHASH(name)]; \ comp && strcmp(comp->c_name,name); \ - comp = comp->c_next) ; + comp = comp->c_next) \ + ; /* * This structure defines one formatting instruction. @@ -93,3 +93,6 @@ struct format { struct format *fmt_scan (struct format *, char *, int, int *); char *new_fs (char *, char *, char *); int fmt_compile (char *, struct format **); +char *formataddr(char *, char *); +char *concataddr(char *, char *); +extern char *format_string;