Listing 2

typedef struct {
              int   row,
                    col,
                    len,
                    type,      /* Bit pattern indication data type */
                    e_attr;    /* Bit pattern for entry attributes */
              long  f_attr,    /* Foreground display attribute     */
                    b_attr;    /* Background display attribute     */
              BOOL  stat;      /* TRUE if changed; else FALSE      */

              char  pad,
                    *name,     /* Assigned field name               */
                    *dflt,     /* Default assigned at creation time */
                    *picture,  /* Picture of regular expression     */
                    *buffer,   /* Address of field contents         */
                    *comp_rgx; /* Compiled regxpr for REGEXP fields */

              BOOL  (*pre_func)(),
                    (*edit_func)();
              int   (*post_func)();

          } SML_FIELD;