diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-04 20:53:33 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-06 07:51:24 +0200 |
commit | 3892112e7b3143f808932771a7b71f4fd335f8cb (patch) | |
tree | fa5254ec26d309e3bda8c8c502363e36feb7f8f9 /lib/util/util.h | |
parent | cad704e8368f6aba28889966a7382afc8b738928 (diff) | |
download | samba-3892112e7b3143f808932771a7b71f4fd335f8cb.tar.gz samba-3892112e7b3143f808932771a7b71f4fd335f8cb.tar.xz samba-3892112e7b3143f808932771a7b71f4fd335f8cb.zip |
lib/util Rename ms_fnmatch() to ms_fnmatch_protocol() to avoid dup symbol
This verison of the function takes a protcol as argument to determine
matching rules.
Andrew Bartlett
Diffstat (limited to 'lib/util/util.h')
-rw-r--r-- | lib/util/util.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/util/util.h b/lib/util/util.h index 64793022c0..b91b2eb1fa 100644 --- a/lib/util/util.h +++ b/lib/util/util.h @@ -777,11 +777,12 @@ enum protocol_types { PROTOCOL_SMB2 }; -int ms_fnmatch(const char *pattern, const char *string, enum protocol_types protocol); +#endif + +int ms_fnmatch_protocol(const char *pattern, const char *string, enum protocol_types protocol); /** a generic fnmatch function - uses for non-CIFS pattern matching */ int gen_fnmatch(const char *pattern, const char *string); -#endif /* The following definitions come from lib/util/idtree.c */ |