summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/vfs_posix.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-24 03:33:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:09 -0500
commitbdbd32d3ff1848aacbc1d1784a99beb8f388c301 (patch)
tree3eed4236053431aa986b8bfba3ab2d368c376d34 /source4/ntvfs/posix/vfs_posix.h
parentf82a03b2c19e702d70ff92d3f6d1c129dcf84c86 (diff)
downloadsamba-bdbd32d3ff1848aacbc1d1784a99beb8f388c301.tar.gz
samba-bdbd32d3ff1848aacbc1d1784a99beb8f388c301.tar.bz2
samba-bdbd32d3ff1848aacbc1d1784a99beb8f388c301.zip
r4956: - moved the definition of the mangle context structure into a pvfs_shortname
- made the mangle cache size configurable (This used to be commit 4adbd01812a53395f175bd6d8e402ad5451f7561)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.h')
-rw-r--r--source4/ntvfs/posix/vfs_posix.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.h b/source4/ntvfs/posix/vfs_posix.h
index f7bf19c3dc..28f1aab94f 100644
--- a/source4/ntvfs/posix/vfs_posix.h
+++ b/source4/ntvfs/posix/vfs_posix.h
@@ -164,31 +164,6 @@ struct pvfs_file {
};
-struct pvfs_mangle_context {
- uint8_t char_flags[256];
- /*
- this determines how many characters are used from the original
- filename in the 8.3 mangled name. A larger value leads to a weaker
- hash and more collisions. The largest possible value is 6.
- */
- int mangle_prefix;
- uint32_t mangle_modulus;
-
- /* we will use a very simple direct mapped prefix cache. The big
- advantage of this cache structure is speed and low memory usage
-
- The cache is indexed by the low-order bits of the hash, and confirmed by
- hashing the resulting cache entry to match the known hash
- */
- char **prefix_cache;
- uint32_t *prefix_cache_hashes;
-
- /* this is used to reverse the base 36 mapping */
- unsigned char base_reverse[256];
-};
-
-
-
/* flags to pvfs_resolve_name() */
#define PVFS_RESOLVE_WILDCARD (1<<0)
#define PVFS_RESOLVE_STREAMS (1<<1)