tokstr
for (t = toktab; t->tokstr; t++)
if (strcmp(t->tokstr, tokval) == 0)
char *tokstr;
struct tokstr tok;
t->tokstr = "write"; t++->tval = WRITE;
t->tokstr = "yes"; t++->tval = YES;
t->tokstr = "y"; t++->tval = YES;
t->tokstr = "no"; t++->tval = NO;
t->tokstr = "n"; t++->tval = NO;
t->tokstr = "command"; t++->tval = COMMAND;
t->tokstr = "force"; t++->tval = FORCE;
t->tokstr = "machine"; t++->tval = MACHINE;
t->tokstr = 0; t->tval = 0;
for (t = d->toktab; t->tokstr; t++)
if ((strcmp(t->tokstr, d->tokval) == 0))
char *tokstr;
t->tokstr = "default"; t++->tval = DEFAULT;
t->tokstr = "login"; t++->tval = LOGIN;
t->tokstr = "password"; t++->tval = PASSWD;
t->tokstr = "notify"; t++->tval = NOTIFY;