r3147: added basic share modes support for pvfs (or more precisely, ntcreatex
[bbaumbach/samba-autobuild/.git] / source4 / ntvfs / posix / vfs_posix.h
index ae601c60c7bcd55a575715bdabd694a15212a885..0bd01f53777c311e788efbffb37c09072917d65f 100644 (file)
@@ -36,13 +36,14 @@ struct pvfs_state {
 
        struct pvfs_mangle_context *mangle_ctx;
 
-       void *brl_context;
+       struct brl_context *brl_context;
+       struct odb_context *odb_context;
 
        /* an id tree mapping open search ID to a pvfs_search_state structure */
-       void *idtree_search;
+       struct idr_context *idtree_search;
 
        /* an id tree mapping open file handle -> struct pvfs_file */
-       void *idtree_fnum;
+       struct idr_context *idtree_fnum;
 };
 
 
@@ -120,6 +121,10 @@ struct pvfs_file {
        /* a count of active locks - used to avoid calling brl_close on
           file close */
        uint64_t lock_count;
+
+       uint32_t create_options;
+       uint32_t share_access;
+       uint32_t access_mask;
 };