Lines Matching +defs:table +defs:list
8 * a list of options is executed or an optional shell command is executed.
167 /* table_match - match table entries with (daemon, client) pair */
170 table_match(const char *table, struct request_info *request)
173 char sv_list[BUFLEN]; /* becomes list of daemons */
174 char *cl_list; /* becomes list of clients */
186 if ((fp = fopen(table, "r")) != 0) {
187 tcpd_context.file = table;
206 tcpd_warn("cannot open %s: %m", table);
225 /* list_match - match a request against a list of patterns with exceptions */
228 list_match(char *list, struct request_info *request,
237 * when we reach an "EXCEPT" token or the end of the list. If we do find
238 * a match, look for an "EXCEPT" list and recurse to determine whether
242 for (tok = strtok_r(list, sep, &last); tok != 0;
383 /* successful lookup - they're on the RBL list */