summaryrefslogtreecommitdiffstats
path: root/source/include/vfs.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-06-24 20:25:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:58:00 -0500
commit9506b8e145982b1160a2f0aee5c9b7a54980940a (patch)
treed52b9e32395f5522406b64612f836c3155f69e19 /source/include/vfs.h
parent6ff0fa0b4385481f2212047d80ca17b55d996def (diff)
downloadsamba-9506b8e145982b1160a2f0aee5c9b7a54980940a.tar.gz
samba-9506b8e145982b1160a2f0aee5c9b7a54980940a.tar.xz
samba-9506b8e145982b1160a2f0aee5c9b7a54980940a.zip
r7882: Looks like a large patch - but what it actually does is make Samba
safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy
Diffstat (limited to 'source/include/vfs.h')
-rw-r--r--source/include/vfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/include/vfs.h b/source/include/vfs.h
index e8c6ff32d55..a9d82a0db13 100644
--- a/source/include/vfs.h
+++ b/source/include/vfs.h
@@ -231,7 +231,7 @@ struct vfs_ops {
ssize_t (*pwrite)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, const void *data, size_t n, SMB_OFF_T offset);
SMB_OFF_T (*lseek)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, SMB_OFF_T offset, int whence);
ssize_t (*sendfile)(struct vfs_handle_struct *handle, int tofd, files_struct *fsp, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count);
- int (*rename)(struct vfs_handle_struct *handle, struct connection_struct *conn, const char *old, const char *new);
+ int (*rename)(struct vfs_handle_struct *handle, struct connection_struct *conn, const char *oldname, const char *newname);
int (*fsync)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd);
int (*stat)(struct vfs_handle_struct *handle, struct connection_struct *conn, const char *fname, SMB_STRUCT_STAT *sbuf);
int (*fstat)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, SMB_STRUCT_STAT *sbuf);