From 2e7df84576d26bc37eb87b7e3c79fcb3fb358d68 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 15 Mar 2006 17:28:46 +0000 Subject: r14456: don't access the smbsrv_tcon inside the ntvfs modules metze (This used to be commit 5709c1c4e1a561dd9af98cfefbbbdac9b18765b7) --- source4/ntvfs/ntvfs.h | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) (limited to 'source4/ntvfs/ntvfs.h') diff --git a/source4/ntvfs/ntvfs.h b/source4/ntvfs/ntvfs.h index 0e15ee1542..2f43f5df20 100644 --- a/source4/ntvfs/ntvfs.h +++ b/source4/ntvfs/ntvfs.h @@ -158,17 +158,40 @@ struct ntvfs_ops { struct ntvfs_module_context { struct ntvfs_module_context *prev, *next; - void *private_data; - const struct ntvfs_ops *ops; + struct ntvfs_context *ctx; int depth; + const struct ntvfs_ops *ops; + void *private_data; }; struct ntvfs_context { enum ntvfs_type type; + + /* the reported filesystem type */ + char *fs_type; + + /* the reported device type */ + char *dev_type; + + enum protocol_types protocol; + /* * linked list of module contexts */ struct ntvfs_module_context *modules; + + struct { + int snum; + } config; + + uint32_t server_id; + struct event_context *event_ctx; + struct messaging_context *msg_ctx; + + struct { + void *private_data; + NTSTATUS (*handler)(void *private_data, uint16_t fnum, uint8_t level); + } oplock; }; -- cgit