summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2008-12-21 15:49:46 -0800
committerTim Prouty <tprouty@samba.org>2009-01-09 11:45:31 -0800
commit6dde84553c1f4d14f075982377f5af97ff5abc44 (patch)
tree6c52f3c6161b9d05020a8a1ed22db7468c6608bc
parenta65f1b9655498850864946d89528f3a475a88248 (diff)
downloadsamba-6dde84553c1f4d14f075982377f5af97ff5abc44.tar.gz
samba-6dde84553c1f4d14f075982377f5af97ff5abc44.tar.bz2
samba-6dde84553c1f4d14f075982377f5af97ff5abc44.zip
s3: Add delete_all_streams to proto.h
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/smbd/close.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index d4aefeae4a..2a7547334c 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 a6dff20ec7..abcd651d93 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;