summaryrefslogtreecommitdiffstats
path: root/source/include/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1999-01-21 02:41:42 +0000
committerJeremy Allison <jra@samba.org>1999-01-21 02:41:42 +0000
commit1cea3dc96fb09a6016f46aad86b79af4f1600c85 (patch)
tree342a8ed11cb56e4ddd52fb5bb8790cd177bbc537 /source/include/proto.h
parent9a274b4e760c974f438616dbceb44420ea3ef19d (diff)
downloadsamba-1cea3dc96fb09a6016f46aad86b79af4f1600c85.tar.gz
samba-1cea3dc96fb09a6016f46aad86b79af4f1600c85.tar.xz
samba-1cea3dc96fb09a6016f46aad86b79af4f1600c85.zip
Added code to let NT do a 'delete on close' request on an open
directory handle. WinCenter (multi-user NT system) is doing this. This code still needs testing.... Jeremy.
Diffstat (limited to 'source/include/proto.h')
-rw-r--r--source/include/proto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/include/proto.h b/source/include/proto.h
index 928c7c10cf6..7c4b2433294 100644
--- a/source/include/proto.h
+++ b/source/include/proto.h
@@ -2285,7 +2285,7 @@ BOOL change_oem_password(struct smb_passwd *smbpw, char *new_passwd, BOOL overri
/*The following definitions come from smbd/close.c */
int close_file(files_struct *fsp, BOOL normal_close);
-void close_directory(files_struct *fsp);
+void close_directory(files_struct *fsp, BOOL normal_close);
/*The following definitions come from smbd/conn.c */
@@ -2429,6 +2429,7 @@ int reply_ntcancel(connection_struct *conn,
int reply_nttranss(connection_struct *conn,
char *inbuf,char *outbuf,int length,int bufsize);
void remove_pending_change_notify_requests_by_fid(files_struct *fsp);
+void remove_pending_change_notify_requests_by_filename(files_struct *fsp);
void process_pending_change_notify_queue(time_t t);
int reply_nttrans(connection_struct *conn,
char *inbuf,char *outbuf,int length,int bufsize);
@@ -2565,6 +2566,7 @@ int reply_printqueue(connection_struct *conn,
char *inbuf,char *outbuf, int dum_size, int dum_buffsize);
int reply_printwrite(connection_struct *conn, char *inbuf,char *outbuf, int dum_size, int dum_buffsize);
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);
int rename_internals(connection_struct *conn,
char *inbuf, char *outbuf, char *name,