s3-docs: document all wbinfo options.
[Samba.git] / source3 / include / mangle.h
blobc07b852453eb90404209e61a15ee3706d7ceaef6
1 #ifndef _MANGLE_H_
2 #define _MANGLE_H_
3 /*
4 header for 8.3 name mangling interface
5 */
7 struct mangle_fns {
8 void (*reset)(void);
9 bool (*is_mangled)(const char *s, const struct share_params *p);
10 bool (*must_mangle)(const char *s, const struct share_params *p);
11 bool (*is_8_3)(const char *fname, bool check_case, bool allow_wildcards,
12 const struct share_params *p);
13 bool (*lookup_name_from_8_3)(TALLOC_CTX *ctx,
14 const char *in,
15 char **out, /* talloced on the given context. */
16 const struct share_params *p);
17 bool (*name_to_8_3)(const char *in,
18 char out[13],
19 bool cache83,
20 int default_case,
21 const struct share_params *p);
23 #endif /* _MANGLE_H_ */