Searched refs:actname (Results 1 – 2 of 2) sorted by relevance
503 static int findaction(char *actname, struct lesskey_tables *tables) in findaction() argument508 if (strcmp(tables->currtable->names[i].cn_name, actname) == 0) in findaction()510 parse_error("unknown action: \"%s\"", actname); in findaction()523 char *actname; in parse_cmdline() local552 actname = p; in parse_cmdline()560 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()