Displaying 2 results from an estimated 2 matches for "smb_vfs_next_close".
2012 Nov 21
2
Moving file after transfer
...red, to a folder that is not shared.
The shared folders that use this VFS module are used to sent files for processing by another application. The module signals the application that it has work to do and moves the file.
So far I've been using the last close call, moving the file after doing SMB_VFS_NEXT_CLOSE().
This works fine for clients form Linux, Windows and, AIX. However MACs (tested on 10.6) seem to do some extra operations after close.
When moving the file an error is displayed on MAC.?
My question is:
Is there a better way then the close call to know when a client is done with the file, and i...
2004 Feb 17
0
VFS module programmieren
...the next modules functions.
The easiest way to do this is to use the SMB_VFS_NEXT_* macros.
...
/* File operations */
#define SMB_VFS_NEXT_OPEN(handle, conn, fname, flags, mode) \
((handle)->vfs_next.ops.open(\
(handle)->vfs_next.handles.open,\
(conn), (fname), (flags), (mode)))
#define SMB_VFS_NEXT_CLOSE(handle, fsp, fd) \
((handle)->vfs_next.ops.close(\
(handle)->vfs_next.handles.close,\
(fsp), (fd)))
#define SMB_VFS_NEXT_READ(handle, fsp, fd, data, n) \
((handle)->vfs_next.ops.read(\
(handle)->vfs_next.handles.read,\
(fsp), (fd), (data), (n)))
#define SMB_VFS_NEXT_WRITE(handle...