Lines Matching defs:key
51 static int read_execout(char *key, char **lp, char *fname, char *line,
53 static int call_read_execout(char *key, char **lp, char *fname, char *line,
74 getmapent_files(key, mapname, ml, stack, stkptr, iswildcard, isrestricted)
75 char *key;
106 * Execute it and pass the key as an argument.
115 "\tExecutable map: map=%s key=%s\n",
116 fname, key);
119 rc = call_read_execout(key, &lp, fname, ml->linebuf, LINESZ);
139 * Search for the entry with the required key.
158 if (strcmp(word, key) == 0)
166 nserr = getmapent(key, word+1, ml, stack, stkptr,
174 * sanity check each map entry key against
175 * the lookup key as the map is searched.
178 if (*key == '/') {
182 "bad key \"%s\" in direct map %s\n",
189 "bad key \"%s\" in indirect map %s\n",
283 * files, i.e., search for key until a wildcard is reached.
557 * read_execout(char *key, char **lp, char *fname, char *line, int linesz)
564 read_execout(char *key, char **lp, char *fname, char *line, int linesz)
579 ((args[1] = strdup(key)) == NULL)) {
642 trace_prt(1, "\tread_execout: map=%s key=%s line=%s\n",
643 fname, key, line);
666 rc = read_execout(command->key, &lp, command->file, line, LINESZ);
684 call_read_execout(char *key, char **lp, char *fname, char *line,
693 (void) strlcpy(command.key, key, MAXOPTSLEN);
696 trace_prt(1, "call_read_execout %s %s\n", fname, key);