diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-04-11 02:20:56 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-04-11 02:20:56 +0000 |
commit | be23d87a178e7d0691e7d942adf89bb3d2d533c2 (patch) | |
tree | 0414043df1fb9291cac2fbca02dedc5aa049bbed /source/include/mangle.h | |
parent | d7c9b00253499da047f30f71660dede3676d40ad (diff) | |
download | samba-be23d87a178e7d0691e7d942adf89bb3d2d533c2.tar.gz samba-be23d87a178e7d0691e7d942adf89bb3d2d533c2.tar.xz samba-be23d87a178e7d0691e7d942adf89bb3d2d533c2.zip |
This split the mangling code up to allow for the possibility of multiple
mangling implementation, selectable using "mangling method = " in smb.conf
It also tidies the interface a little, although it is still nasty.
Diffstat (limited to 'source/include/mangle.h')
-rw-r--r-- | source/include/mangle.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/include/mangle.h b/source/include/mangle.h new file mode 100644 index 00000000000..d3218519f88 --- /dev/null +++ b/source/include/mangle.h @@ -0,0 +1,11 @@ +/* + header for 8.3 name mangling interface +*/ + +struct mangle_fns { + BOOL (*is_mangled)(const char *s); + BOOL (*is_8_3)(const char *fname, BOOL check_case); + void (*reset)(void); + BOOL (*check_cache)(char *s); + BOOL (*name_map)(char *OutName, BOOL need83, BOOL cache83); +}; |