typedef struct {
  char sym;
  int state;
  char newsym;
  int newstate;
  char newdir;
} fn_t;

extern void add_fn(fn_t *);
