From e0fa472a3b50dba7ab62541b8d6666f0ae29f397 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 9 Aug 2008 00:05:38 +0200 Subject: lib/access: make list_match() public. Michael (This used to be commit 742bedce417c666b5e91d8d0a7dc7682dc62eba2) --- source3/include/proto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 0cafdf630f..a19d51fe0f 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -294,6 +294,8 @@ char *lang_tdb_current(void); /* The following definitions come from lib/access.c */ bool client_match(const char *tok, const void *item); +bool list_match(const char **list,const void *item, + bool (*match_fn)(const char *, const void *)); bool allow_access(const char **deny_list, const char **allow_list, const char *cname, -- cgit