From 132ee3990af5d31573978f5a3abf43db2303880b Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 7 Sep 2007 20:57:01 +0000 Subject: r25009: Large patch discussed with Volker. Move unix_convert to a talloc-based interface. More development will come on top of this. Remove the "mangled map" parameter. Jeremy. (This used to be commit dee8beba7a92b8a3f68bbcc59fd0a827f68c7736) --- source3/include/mangle.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'source3/include') diff --git a/source3/include/mangle.h b/source3/include/mangle.h index 3d19ef9ed4..382bf1c630 100644 --- a/source3/include/mangle.h +++ b/source3/include/mangle.h @@ -7,12 +7,17 @@ struct mangle_fns { void (*reset)(void); BOOL (*is_mangled)(const char *s, const struct share_params *p); + BOOL (*must_mangle)(const char *s, const struct share_params *p); BOOL (*is_8_3)(const char *fname, BOOL check_case, BOOL allow_wildcards, const struct share_params *p); - BOOL (*check_cache)(char *s, size_t maxlen, - const struct share_params *p); - void (*name_map)(char *OutName, BOOL need83, BOOL cache83, - int default_case, - const struct share_params *p); + BOOL (*lookup_name_from_8_3)(TALLOC_CTX *ctx, + const char *in, + char **out, /* talloced on the given context. */ + const struct share_params *p); + BOOL (*name_to_8_3)(const char *in, + char out[13], + BOOL cache83, + int default_case, + const struct share_params *p); }; #endif /* _MANGLE_H_ */ -- cgit