s3: Add delete_all_streams to proto.h
authorTim Prouty <tprouty@samba.org>
Sun, 21 Dec 2008 23:49:46 +0000 (15:49 -0800)
committerTim Prouty <tprouty@samba.org>
Fri, 9 Jan 2009 19:45:31 +0000 (11:45 -0800)
source3/include/proto.h
source3/smbd/close.c

index d4aefeae4aee5af005d14d7af5e4dddd10ae4807..2a7547334cc9396b8bf8e796daee9d84c1ef33b5 100644 (file)
@@ -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  */
 
index a6dff20ec7cb60349d16875758f7184d8eba8cbf..abcd651d93887622832b595713d79a40c80189b2 100644 (file)
@@ -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;