summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 18:02:36 +0200
committerVolker Lendecke <vl@samba.org>2010-07-05 11:06:24 +0200
commit23790c9a8f54593602dce27a3fb1b1f752299431 (patch)
tree953451b14d979a9048d18c45d0111e38fc30ef4e /source3/smbd
parent58b9595babebdeb42cd6ffdc2b12e54b46964127 (diff)
downloadsamba-23790c9a8f54593602dce27a3fb1b1f752299431.tar.gz
samba-23790c9a8f54593602dce27a3fb1b1f752299431.tar.bz2
samba-23790c9a8f54593602dce27a3fb1b1f752299431.zip
s3: Add sconn_server_id()
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index 43f74628c5..9d9688f8a9 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -245,6 +245,8 @@ void smbd_server_connection_terminate_ex(struct smbd_server_connection *sconn,
#define smbd_server_connection_terminate(sconn, reason) \
smbd_server_connection_terminate_ex(sconn, reason, __location__)
+struct server_id sconn_server_id(const struct smbd_server_connection *sconn);
+
const char *smb2_opcode_name(uint16_t opcode);
bool smbd_is_smb2_header(const uint8_t *inbuf, size_t size);