summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-09-16 03:54:32 -0700
committerJeremy Allison <jra@samba.org>2019-09-17 22:49:35 +0000
commite00e53344df78b54bb5978de7062bf4c1242bd46 (patch)
treeab60d7fbf2e3c74df8ba61e0be7f68f66ae839ed /source3/smbd/proto.h
parent4f8db9b3cff9ef548a66b45f998573aea103db8c (diff)
downloadsamba-e00e53344df78b54bb5978de7062bf4c1242bd46.tar.gz
smbd: Make fsp->fh->gen_id unique per process
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 5ebee0486e7..f1c374f652b 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -368,6 +368,7 @@ NTSTATUS filename_convert_with_privilege(TALLOC_CTX *mem_ctx,
NTSTATUS fsp_new(struct connection_struct *conn, TALLOC_CTX *mem_ctx,
files_struct **result);
+void fsp_set_gen_id(files_struct *fsp);
NTSTATUS file_new(struct smb_request *req, connection_struct *conn,
files_struct **result);
void file_close_conn(connection_struct *conn);