Searched refs:list_match (Results 1 - 2 of 2) sorted by relevance

/netbsd-6-1-5-RELEASE/lib/libpam/modules/pam_login_access/
H A Dlogin_access.c51 static int list_match(char *, const char *,
120 match = (list_match(froms, from, from_match)
121 && list_match(users, user, user_match));
130 /* list_match - match an item against a list of tokens with exceptions */
133 list_match(char *list, const char *item, function
157 if (tok == 0 || list_match((char *) 0, item, match_fn) == NO)
/netbsd-6-1-5-RELEASE/lib/libwrap/
H A Dhosts_access.c88 static int list_match __P((char *, struct request_info *,
175 match = list_match(sv_list, request, server_match)
176 && list_match(cl_list, request, client_match);
199 /* list_match - match a request against a list of patterns with exceptions */
201 static int list_match(list, request, match_fn) function
229 return (tok == 0 || list_match(NULL, request, match_fn) == 0);

Completed in 118 milliseconds