summaryrefslogtreecommitdiff
path: root/source3/smbd/globals.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-06-11 12:15:48 +0200
committerMichael Adam <obnox@samba.org>2014-08-06 09:51:13 +0200
commit4a07b14ceaa5fbdc62f51039d794d4f3121ea6c8 (patch)
tree3e70cbc1cbe55b17c73290f053474b1b279f27ec /source3/smbd/globals.h
parentc9e171ff72920c4d422045acbccf853cf1c27224 (diff)
downloadsamba-4a07b14ceaa5fbdc62f51039d794d4f3121ea6c8.tar.gz
s3:smb2_server: pass smbXsrv_connection to smbd_server_connection_terminate*()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r--source3/smbd/globals.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index b7f40366058..e2bf6c99d69 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -213,11 +213,11 @@ NTSTATUS smbd_calculate_access_mask(connection_struct *conn,
void smbd_notify_cancel_by_smbreq(const struct smb_request *smbreq);
-void smbd_server_connection_terminate_ex(struct smbd_server_connection *sconn,
+void smbd_server_connection_terminate_ex(struct smbXsrv_connection *xconn,
const char *reason,
const char *location);
-#define smbd_server_connection_terminate(sconn, reason) \
- smbd_server_connection_terminate_ex(sconn, reason, __location__)
+#define smbd_server_connection_terminate(xconn, reason) \
+ smbd_server_connection_terminate_ex(xconn, reason, __location__)
const char *smb2_opcode_name(uint16_t opcode);
bool smbd_is_smb2_header(const uint8_t *inbuf, size_t size);