summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-21 19:04:34 +0100
committerVolker Lendecke <vl@samba.org>2009-11-21 20:49:16 +0100
commite23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc (patch)
treea6e586add1d5f07016999d0138042db1cbd751b2 /source3/include
parentb2db4c51625077569ccc0fdf39471a67c3646066 (diff)
downloadsamba-e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc.tar.gz
s3: Make the implicit reference to Protocol in mask_match() explicit
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 92cb99744b6..33999650438 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1188,7 +1188,8 @@ bool parent_dirname(TALLOC_CTX *mem_ctx, const char *dir, char **parent,
const char **name);
bool ms_has_wild(const char *s);
bool ms_has_wild_w(const smb_ucs2_t *s);
-bool mask_match(const char *string, const char *pattern, bool is_case_sensitive);
+bool mask_match(const char *string, const char *pattern,
+ enum protocol_types proto, bool is_case_sensitive);
bool mask_match_search(const char *string, const char *pattern, bool is_case_sensitive);
bool mask_match_list(const char *string, char **list, int listLen, bool is_case_sensitive);
bool unix_wild_match(const char *pattern, const char *string);