Searched refs:actname (Results 1 – 2 of 2) sorted by relevance
463 static int findaction(char *actname, struct lesskey_tables *tables) in findaction() 468 if (strcmp(tables->currtable->names[i].cn_name, actname) == 0)470 parse_error("unknown action: \"%s\"", actname);483 char *actname; in parse_cmdline() 512 actname = p; in parse_cmdline() 520 action = findaction(actname, tables); in parse_cmdline() 456 findaction(char * actname,struct lesskey_tables * tables) findaction() argument 476 char *actname; parse_cmdline() local
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()