From: Tim Prouty Date: Sun, 21 Dec 2008 23:49:46 +0000 (-0800) Subject: s3: Add delete_all_streams to proto.h X-Git-Tag: samba-4.0.0alpha6~160 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6dde84553c1f4d14f075982377f5af97ff5abc44;p=thirdparty%2Fsamba.git s3: Add delete_all_streams to proto.h --- diff --git a/source3/include/proto.h b/source3/include/proto.h index d4aefeae4ae..2a7547334cc 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6532,6 +6532,7 @@ void msg_close_file(struct messaging_context *msg_ctx, uint32_t msg_type, struct server_id server_id, DATA_BLOB *data); +NTSTATUS delete_all_streams(connection_struct *conn, const char *fname); /* The following definitions come from smbd/conn.c */ diff --git a/source3/smbd/close.c b/source3/smbd/close.c index a6dff20ec7c..abcd651d938 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -167,7 +167,7 @@ static void notify_deferred_opens(struct share_mode_lock *lck) Delete all streams ****************************************************************************/ -static NTSTATUS delete_all_streams(connection_struct *conn, const char *fname) +NTSTATUS delete_all_streams(connection_struct *conn, const char *fname) { struct stream_struct *stream_info; int i;