summaryrefslogtreecommitdiff
path: root/source3/smbd/globals.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2016-02-27 03:23:27 +0100
committerMichael Adam <obnox@samba.org>2016-03-03 13:09:24 +0100
commit5b90c986eda8201660434a9a1d64e5a0a625379e (patch)
tree881c4dd060f10f069f85e94202f76acff51347c3 /source3/smbd/globals.h
parent08e34830b7f4d631a24e94aad1502949eb2cd675 (diff)
downloadsamba-5b90c986eda8201660434a9a1d64e5a0a625379e.tar.gz
smbXsrv:open: add smb2srv_open_lookup_replay_cache()
A function to find an open from the replay cache, based on the create_guid handed in. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r--source3/smbd/globals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index 1ca1389cdd6..c843f5a9e8e 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -641,6 +641,10 @@ NTSTATUS smb2srv_open_lookup(struct smbXsrv_connection *conn,
uint64_t volatile_id,
NTTIME now,
struct smbXsrv_open **_open);
+NTSTATUS smb2srv_open_lookup_replay_cache(struct smbXsrv_connection *conn,
+ const struct GUID *create_guid,
+ NTTIME now,
+ struct smbXsrv_open **_open);
NTSTATUS smb2srv_open_recreate(struct smbXsrv_connection *conn,
struct auth_session_info *session_info,
uint64_t persistent_id,