/*
** This structure describes an "interesting" component. It holds
** the name & text from the component (if found) and one piece of
/*
** This structure describes an "interesting" component. It holds
** the name & text from the component (if found) and one piece of
** by (open) hashing the name and using it as an index into the ptr array
** "wantcomp". All format entries that reference a particular component
** point to its comp struct (so we only have to do component specific
** by (open) hashing the name and using it as an index into the ptr array
** "wantcomp". All format entries that reference a particular component
** point to its comp struct (so we only have to do component specific
char *c_text; /* component text (if found) */
struct comp *c_next; /* hash chain linkage */
short c_flags; /* misc. flags (from fmt_scan) */
char *c_text; /* component text (if found) */
struct comp *c_next; /* hash chain linkage */
short c_flags; /* misc. flags (from fmt_scan) */
** prototypes
*/
struct format *fmt_scan(struct format *, char *, int, int *);
** prototypes
*/
struct format *fmt_scan(struct format *, char *, int, int *);