summaryrefslogtreecommitdiff
path: root/source3/include/mangle.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-04-11 02:20:56 +0000
committerAndrew Tridgell <tridge@samba.org>2002-04-11 02:20:56 +0000
commit9cd0306baa1b3a78b40ab97b5d199b90a4c34aa6 (patch)
treede86987bf008f56bc1e4130add688bce45d11cf9 /source3/include/mangle.h
parentd3fa6d5de64f022eafd99b83d4853c86f8b2f46c (diff)
downloadsamba-9cd0306baa1b3a78b40ab97b5d199b90a4c34aa6.tar.gz
samba-9cd0306baa1b3a78b40ab97b5d199b90a4c34aa6.tar.bz2
samba-9cd0306baa1b3a78b40ab97b5d199b90a4c34aa6.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. (This used to be commit be23d87a178e7d0691e7d942adf89bb3d2d533c2)
Diffstat (limited to 'source3/include/mangle.h')
-rw-r--r--source3/include/mangle.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/include/mangle.h b/source3/include/mangle.h
new file mode 100644
index 0000000000..d3218519f8
--- /dev/null
+++ b/source3/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);
+};