mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
dee8beba7a
interface. More development will come on top of this. Remove the "mangled map" parameter. Jeremy.
24 lines
684 B
C
24 lines
684 B
C
#ifndef _MANGLE_H_
|
|
#define _MANGLE_H_
|
|
/*
|
|
header for 8.3 name mangling interface
|
|
*/
|
|
|
|
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 (*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_ */
|