Changeset 745 for trunk/server/source3/include/vfs_macros.h
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source3/include/vfs_macros.h
r414 r745 75 75 smb_vfs_call_opendir((handle)->next, (fname), (mask), (attr)) 76 76 77 #define SMB_VFS_FDOPENDIR(fsp, mask, attr) \ 78 smb_vfs_call_fdopendir((fsp)->conn->vfs_handles, (fsp), (mask), (attr)) 79 #define SMB_VFS_NEXT_FDOPENDIR(handle, fsp, mask, attr) \ 80 smb_vfs_call_fdopendir((handle)->next, (fsp), (mask), (attr)) 81 77 82 #define SMB_VFS_READDIR(conn, dirp, sbuf) \ 78 83 smb_vfs_call_readdir((conn)->vfs_handles, (dirp), (sbuf)) … … 121 126 smb_vfs_call_open((handle)->next, (fname), (fsp), (flags), (mode)) 122 127 123 #define SMB_VFS_CREATE_FILE(conn, req, root_dir_fid, smb_fname, access_mask, share_access, create_disposition, create_options, file_attributes, oplock_request, allocation_size, sd, ea_list, result, pinfo) \ 124 smb_vfs_call_create_file((conn)->vfs_handles, (req), (root_dir_fid), (smb_fname), (access_mask), (share_access), (create_disposition), (create_options), (file_attributes), (oplock_request), (allocation_size), (sd), (ea_list), (result), (pinfo)) 125 #define SMB_VFS_NEXT_CREATE_FILE(handle, req, root_dir_fid, smb_fname, access_mask, share_access, create_disposition, create_options, file_attributes, oplock_request, allocation_size, sd, ea_list, result, pinfo) \ 126 smb_vfs_call_create_file((handle)->next, (req), (root_dir_fid), (smb_fname), (access_mask), (share_access), (create_disposition), (create_options), (file_attributes), (oplock_request), (allocation_size), (sd), (ea_list), (result), (pinfo)) 128 #define SMB_VFS_CREATE_FILE(conn, req, root_dir_fid, smb_fname, access_mask, share_access, create_disposition, \ 129 create_options, file_attributes, oplock_request, allocation_size, private_flags, sd, ea_list, result, pinfo) \ 130 smb_vfs_call_create_file((conn)->vfs_handles, (req), (root_dir_fid), (smb_fname), (access_mask), (share_access), (create_disposition), \ 131 (create_options), (file_attributes), (oplock_request), (allocation_size), (private_flags), (sd), (ea_list), (result), (pinfo)) 132 #define SMB_VFS_NEXT_CREATE_FILE(handle, req, root_dir_fid, smb_fname, access_mask, share_access, create_disposition, \ 133 create_options, file_attributes, oplock_request, allocation_size, private_flags, sd, ea_list, result, pinfo) \ 134 smb_vfs_call_create_file((handle)->next, (req), (root_dir_fid), (smb_fname), (access_mask), (share_access), (create_disposition), \ 135 (create_options), (file_attributes), (oplock_request), (allocation_size), (private_flags), (sd), (ea_list), (result), (pinfo)) 127 136 128 137 #define SMB_VFS_CLOSE(fsp) \ … … 246 255 smb_vfs_call_ftruncate((handle)->next, (fsp), (offset)) 247 256 257 #define SMB_VFS_FALLOCATE(fsp, mode, offset, len) \ 258 smb_vfs_call_fallocate((fsp)->conn->vfs_handles, (fsp), (mode), (offset), (len)) 259 #define SMB_VFS_NEXT_FALLOCATE(handle, fsp, mode, offset, len) \ 260 smb_vfs_call_fallocate((handle)->next, (fsp), (mode), (offset), (len)) 261 248 262 #define SMB_VFS_LOCK(fsp, op, offset, count, type) \ 249 263 smb_vfs_call_lock((fsp)->conn->vfs_handles, (fsp), (op), (offset), (count), (type)) … … 286 300 smb_vfs_call_mknod((handle)->next, (path), (mode), (dev)) 287 301 288 #define SMB_VFS_REALPATH(conn, path , resolved_path) \289 smb_vfs_call_realpath((conn)->vfs_handles, (path) , (resolved_path))290 #define SMB_VFS_NEXT_REALPATH(handle, path , resolved_path) \291 smb_vfs_call_realpath((handle)->next, (path) , (resolved_path))302 #define SMB_VFS_REALPATH(conn, path) \ 303 smb_vfs_call_realpath((conn)->vfs_handles, (path)) 304 #define SMB_VFS_NEXT_REALPATH(handle, path) \ 305 smb_vfs_call_realpath((handle)->next, (path)) 292 306 293 307 #define SMB_VFS_NOTIFY_WATCH(conn, ctx, e, callback, private_data, handle_p) \ … … 589 603 smb_vfs_call_aio_force((handle)->next,(fsp)) 590 604 591 #define SMB_VFS_IS_OFFLINE(conn, path,sbuf) \592 smb_vfs_call_is_offline((conn)->vfs_handles,( path),(sbuf))593 #define SMB_VFS_NEXT_IS_OFFLINE(handle, path,sbuf) \594 smb_vfs_call_is_offline((handle)->next,( path),(sbuf))595 596 #define SMB_VFS_SET_OFFLINE(conn, path) \597 smb_vfs_call_set_offline((conn)->vfs_handles,( path))598 #define SMB_VFS_NEXT_SET_OFFLINE(handle, path) \599 smb_vfs_call_set_offline((handle)->next, ( path))605 #define SMB_VFS_IS_OFFLINE(conn,fname,sbuf) \ 606 smb_vfs_call_is_offline((conn)->vfs_handles,(fname),(sbuf)) 607 #define SMB_VFS_NEXT_IS_OFFLINE(handle,fname,sbuf) \ 608 smb_vfs_call_is_offline((handle)->next,(fname),(sbuf)) 609 610 #define SMB_VFS_SET_OFFLINE(conn,fname) \ 611 smb_vfs_call_set_offline((conn)->vfs_handles,(fname)) 612 #define SMB_VFS_NEXT_SET_OFFLINE(handle,fname) \ 613 smb_vfs_call_set_offline((handle)->next, (fname)) 600 614 601 615 #endif /* _VFS_MACROS_H */
Note:
See TracChangeset
for help on using the changeset viewer.