Searched refs:actname (Results 1 – 2 of 2) sorted by relevance
530 static int findaction(char *actname, struct lesskey_tables *tables) in findaction() argument535 if (strcmp(tables->currtable->names[i].cn_name, actname) == 0) in findaction()537 parse_error(LM(unknown_action_X), actname); in findaction()550 char *actname; in parse_cmdline() local579 actname = p; in parse_cmdline()587 action = findaction(actname, tables); in parse_cmdline()
438 static const char * const actname[] = { " none ", "permit ", " deny " }; in filter_Action2Nam() local444 } else if (act >= A_NONE && act < A_NONE + sizeof(actname)/sizeof(char *)) in filter_Action2Nam()445 return actname[act - A_NONE]; in filter_Action2Nam()