mirror of
https://github.com/samba-team/samba.git
synced 2025-02-15 05:57:49 +03:00
Update from Stefan Metzmacher
(This used to be commit 8d6f9d058d89c54a18d769f75a3d6f4ec9ab0f35)
This commit is contained in:
parent
1d03ec88f1
commit
aac140aa04
@ -295,7 +295,7 @@ typedef struct vfs_handle_struct {
|
||||
|
||||
<varlistentry><term>vfs_next</term>
|
||||
<listitem><para>This vfs_ops struct contains the information for calling the next module operations.
|
||||
Use the vfs_next_* macros to call a next module operations and
|
||||
Use the SMB_VFS_NEXT_* macros to call a next module operations and
|
||||
don't access handle->vfs_next.ops.* directly!</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
@ -442,13 +442,13 @@ e.g. default_vfs_ops.connect(conn, service, user);
|
||||
</para></listitem>
|
||||
|
||||
<listitem><para>
|
||||
Uppercase all "vfs_next_*" functions.
|
||||
Uppercase all "smb_vfs_next_*" functions.
|
||||
e.g. smb_vfs_next_connect(conn, service, user);
|
||||
-> SMB_VFS_NEXT_CONNECT(conn, service, user);
|
||||
</para></listitem>
|
||||
|
||||
<listitem><para>
|
||||
Add "handle, " as first parameter to all VFS_NEXT_*() calls.
|
||||
Add "handle, " as first parameter to all SMB_VFS_NEXT_*() calls.
|
||||
e.g. SMB_VFS_NEXT_CONNECT(conn, service, user);
|
||||
-> SMB_VFS_NEXT_CONNECT(handle, conn, service, user);
|
||||
</para></listitem>
|
||||
@ -700,7 +700,7 @@ static int example_close(vfs_handle_struct *handle, files_struct *fsp, int fd)
|
||||
/* do something here...*/
|
||||
DEBUG(0,("some_string: %s\n",data->some_string));
|
||||
|
||||
return VFS_NEXT_CLOSE(handle, fsp, fd);
|
||||
return SMB_VFS_NEXT_CLOSE(handle, fsp, fd);
|
||||
}
|
||||
</programlisting>
|
||||
</para></listitem>
|
||||
|
Loading…
x
Reference in New Issue
Block a user