/*
* fmt_scan.h -- definitions for fmt_scan()
- *
- * $Id$
*/
/*
*/
#define CT_ADDR (1<<0) /* referenced as address */
#define CT_DATE (1<<1) /* referenced as date */
-#define CT_MYMBOX (1<<2) /* "mymbox" test being done */
-#define CT_ADDRPARSE (1<<3) /* address parse being done */
+
+/*
+ * c_flags bits
+ */
+#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;
#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.
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;