summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/lib/access.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 01b7a354e2..0cafdf630f 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -293,6 +293,7 @@ char *lang_tdb_current(void);
/* The following definitions come from lib/access.c */
+bool client_match(const char *tok, const void *item);
bool allow_access(const char **deny_list,
const char **allow_list,
const char *cname,
diff --git a/source3/lib/access.c b/source3/lib/access.c
index db5d007deb..773823a609 100644
--- a/source3/lib/access.c
+++ b/source3/lib/access.c
@@ -175,7 +175,7 @@ static bool string_match(const char *tok,const char *s)
}
/* client_match - match host name and address against token */
-static bool client_match(const char *tok, const void *item)
+bool client_match(const char *tok, const void *item)
{
const char **client = (const char **)item;