svn commit: samba r7884 - in trunk/examples/VFS: .
jra at samba.org
jra at samba.org
Fri Jun 24 21:14:47 GMT 2005
Author: jra
Date: 2005-06-24 21:14:46 +0000 (Fri, 24 Jun 2005)
New Revision: 7884
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7884
Log:
Fix example vfs files also to be C++ friendly.
Jeremy.
Modified:
trunk/examples/VFS/skel_opaque.c
trunk/examples/VFS/skel_transparent.c
Changeset:
Modified: trunk/examples/VFS/skel_opaque.c
===================================================================
--- trunk/examples/VFS/skel_opaque.c 2005-06-24 21:12:42 UTC (rev 7883)
+++ trunk/examples/VFS/skel_opaque.c 2005-06-24 21:14:46 UTC (rev 7884)
@@ -146,9 +146,9 @@
return vfswrap_lseek(NULL, fsp, filedes, offset, whence);
}
-static int skel_rename(vfs_handle_struct *handle, connection_struct *conn, const char *old, const char *new)
+static int skel_rename(vfs_handle_struct *handle, connection_struct *conn, const char *oldname, const char *newname)
{
- return vfswrap_rename(NULL, conn, old, new);
+ return vfswrap_rename(NULL, conn, oldname, newname);
}
static int skel_fsync(vfs_handle_struct *handle, files_struct *fsp, int fd)
Modified: trunk/examples/VFS/skel_transparent.c
===================================================================
--- trunk/examples/VFS/skel_transparent.c 2005-06-24 21:12:42 UTC (rev 7883)
+++ trunk/examples/VFS/skel_transparent.c 2005-06-24 21:14:46 UTC (rev 7884)
@@ -145,9 +145,9 @@
return SMB_VFS_NEXT_LSEEK(handle, fsp, filedes, offset, whence);
}
-static int skel_rename(vfs_handle_struct *handle, connection_struct *conn, const char *old, const char *new)
+static int skel_rename(vfs_handle_struct *handle, connection_struct *conn, const char *oldname, const char *newname)
{
- return SMB_VFS_NEXT_RENAME(handle, conn, old, new);
+ return SMB_VFS_NEXT_RENAME(handle, conn, oldname, newname);
}
static int skel_fsync(vfs_handle_struct *handle, files_struct *fsp, int fd)
More information about the samba-cvs
mailing list