summaryrefslogtreecommitdiffstats
path: root/source/include/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-01-04 20:06:04 +0000
committerJeremy Allison <jra@samba.org>2002-01-04 20:06:04 +0000
commitf01357737b9cdd85732439eb153d0a0b8f26e66c (patch)
tree9a94833dd1e75c3cf08829917f5e6227ec600f5f /source/include/proto.h
parentf97ce504d2cd29b09793fec4bf532a2acce44e1a (diff)
downloadsamba-f01357737b9cdd85732439eb153d0a0b8f26e66c.tar.gz
samba-f01357737b9cdd85732439eb153d0a0b8f26e66c.tar.xz
samba-f01357737b9cdd85732439eb153d0a0b8f26e66c.zip
Re-wrote the guts of the rename_internals code to cope with a reported
bug (renaming name -> name was failing, on W2K it succeeds). Simplified the common case, did a lot of work to ensure NT error codes are correctly reported back to client. Now to port this to HEAD and app-head. Jeremy.
Diffstat (limited to 'source/include/proto.h')
-rw-r--r--source/include/proto.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/include/proto.h b/source/include/proto.h
index a7d2ef95d1f..08fe3c5c100 100644
--- a/source/include/proto.h
+++ b/source/include/proto.h
@@ -4434,9 +4434,7 @@ NTSTATUS mkdir_internal(connection_struct *conn, pstring directory);
int reply_mkdir(connection_struct *conn, char *inbuf,char *outbuf, int dum_size, int dum_buffsize);
BOOL rmdir_internals(connection_struct *conn, char *directory);
int reply_rmdir(connection_struct *conn, char *inbuf,char *outbuf, int dum_size, int dum_buffsize);
-NTSTATUS rename_internals(connection_struct *conn,
- char *name,
- char *newname, BOOL replace_if_exists);
+NTSTATUS rename_internals(connection_struct *conn, char *name, char *newname, BOOL replace_if_exists);
int reply_mv(connection_struct *conn, char *inbuf,char *outbuf, int dum_size, int dum_buffsize);
int reply_copy(connection_struct *conn, char *inbuf,char *outbuf, int dum_size, int dum_buffsize);
int reply_setdir(connection_struct *conn, char *inbuf,char *outbuf, int dum_size, int dum_buffsize);
@@ -4543,6 +4541,7 @@ BOOL vfs_init(connection_struct *conn);
BOOL vfs_directory_exist(connection_struct *conn, char *dname, SMB_STRUCT_STAT *st);
int vfs_mkdir(connection_struct *conn, char *fname, mode_t mode);
char *vfs_getwd(connection_struct *conn, char *unix_path);
+BOOL vfs_object_exist(connection_struct *conn,char *fname,SMB_STRUCT_STAT *sbuf);
BOOL vfs_file_exist(connection_struct *conn,char *fname,SMB_STRUCT_STAT *sbuf);
ssize_t vfs_read_data(files_struct *fsp, char *buf, size_t byte_count);
ssize_t vfs_write_data(files_struct *fsp,char *buffer,size_t N);