lib/access: make client_match() public.
authorMichael Adam <obnox@samba.org>
Fri, 8 Aug 2008 22:03:23 +0000 (00:03 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 8 Aug 2008 23:15:57 +0000 (01:15 +0200)
Michael

source/include/proto.h
source/lib/access.c

index 01b7a354e2250988852c879f03999e861a7a6119..0cafdf630fd09356e8793159a2c13c1f8e9a0eb5 100644 (file)
@@ -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,
index db5d007deb82b540b5c1a3c24f05bd12e43c401a..773823a609962c840e57a9c036fae144ef074881 100644 (file)
@@ -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;