summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-05-27 22:48:22 +0000
committerJeremy Allison <jra@samba.org>1998-05-27 22:48:22 +0000
commitad53f02511506e75f4f656b4164e12da4a7aafe7 (patch)
tree18fa89ce5b835e88dae11fe37bd5ee26e86ba24f /source3/include/proto.h
parent8e914e55c06d7804a28597d9faf1c2d7d7042d9b (diff)
downloadsamba-ad53f02511506e75f4f656b4164e12da4a7aafe7.tar.gz
samba-ad53f02511506e75f4f656b4164e12da4a7aafe7.tar.bz2
samba-ad53f02511506e75f4f656b4164e12da4a7aafe7.zip
Newly re-written do_match and mask_match functions, with the
help of Ums Harald <Harald.Ums@pro-sieben.de>, who has been testing our 8.3 wildcards with a test suite. With his new code for 8.3 matching, this is the test done (I'm quoting from his email) "I tested it by generating a directory with about 7600 Files and run automatc tests with about 4000 patterns. The result from Win95 -> WinNT and Win95 -> Samba where identical according to diff." I have also re-written the long filename wildcard code, so that doing DIR a*z now matches files : AAA.BBB.CCCC....ZZZZ correctly, and other fixes besides. I sincerely hope I can lay this (horrid) issue to rest now :-). Jeremy. (This used to be commit 94e3f0d9b48c1ac6d9235eb6600aff1c47e024bc)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 3086c6cd24..44821405d4 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2013,6 +2013,7 @@ BOOL string_init(char **dest,char *src);
void string_free(char **s);
BOOL string_set(char **dest,char *src);
BOOL string_sub(char *s,char *pattern,char *insert);
+BOOL mask_match(char *str, char *regexp, int case_sig, BOOL trans2);
BOOL do_match(char *str, char *regexp, int case_sig);
BOOL mask_match(char *str, char *regexp, int case_sig,BOOL trans2);
void become_daemon(void);