diff options
author | Jeremy Allison <jra@samba.org> | 2001-09-04 19:10:30 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-09-04 19:10:30 +0000 |
commit | 7e75921e24dc1cca934bc5e4350137292a2f2112 (patch) | |
tree | c6dd47eb7ef2ada1eb928ca5d2633bc695568398 /source3/include | |
parent | cefa698c725c883c418b915b057e4ef023610a1d (diff) | |
download | samba-7e75921e24dc1cca934bc5e4350137292a2f2112.tar.gz samba-7e75921e24dc1cca934bc5e4350137292a2f2112.tar.bz2 samba-7e75921e24dc1cca934bc5e4350137292a2f2112.zip |
Merge of transfer file code from 2.2, fix for readbraw.
Jeremy.
(This used to be commit c05e79453655abb67fd47a2d3dba88b4c5377e35)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/vfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h index 5b1d804e4d..5a8451fb14 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -68,8 +68,8 @@ struct vfs_ops { int (*open)(struct connection_struct *conn, const char *fname, int flags, mode_t mode); int (*close)(struct files_struct *fsp, int fd); - ssize_t (*read)(struct files_struct *fsp, int fd, char *data, size_t n); - ssize_t (*write)(struct files_struct *fsp, int fd, const char *data, size_t n); + ssize_t (*read)(struct files_struct *fsp, int fd, void *data, size_t n); + ssize_t (*write)(struct files_struct *fsp, int fd, const void *data, size_t n); SMB_OFF_T (*lseek)(struct files_struct *fsp, int filedes, SMB_OFF_T offset, int whence); int (*rename)(struct connection_struct *conn, const char *old, const char *new); int (*fsync)(struct files_struct *fsp, int fd); |