diff options
| author | Jeremy Allison <jra@samba.org> | 2016-11-11 10:35:01 -0800 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2016-11-16 12:41:09 +0100 |
| commit | 828b60f30debce84a057dda2551f2fd494327872 (patch) | |
| tree | 0572babd9bc39f78d802e0641886f8c8fe2ef178 /source3/include/proto.h | |
| parent | caadd8afe65cd17f47c737bb483ad05362071fb7 (diff) | |
| download | samba-828b60f30debce84a057dda2551f2fd494327872.tar.gz samba-828b60f30debce84a057dda2551f2fd494327872.tar.bz2 samba-828b60f30debce84a057dda2551f2fd494327872.zip | |
lib/util: Move unix_wild_match() from source3/lib/util to lib/util/
Use top-level functions instead of source3 specific ones.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12419
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/include/proto.h')
| -rw-r--r-- | source3/include/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 0b0a2b59325..2758dc5a47b 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -411,7 +411,7 @@ 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_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); +#include "lib/util/unix_match.h" bool name_to_fqdn(fstring fqdn, const char *name); uint32_t map_share_mode_to_deny_mode(uint32_t share_access, uint32_t private_options); |
