diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-06-20 00:31:31 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-09-19 09:15:13 +0200 |
commit | e773851c73b4dd2d29d69a7e42e069ebd7171455 (patch) | |
tree | c8bbbd5fa1a3fe14e1fd5d61d29a231e37c317f1 /source3/smbd/globals.h | |
parent | 7a45ddbaca2c193efe85d244216a8217673079a5 (diff) | |
download | samba-e773851c73b4dd2d29d69a7e42e069ebd7171455.tar.gz |
s3:smbd: split out a smbd_add_connection() helper function.
This attaches a smbXsrv_connection to a smbXsrv_client structure.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r-- | source3/smbd/globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 4a8927a05db..797a5c85515 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -222,6 +222,9 @@ void smbd_server_connection_terminate_ex(struct smbXsrv_connection *xconn, const char *smb2_opcode_name(uint16_t opcode); bool smbd_is_smb2_header(const uint8_t *inbuf, size_t size); +NTSTATUS smbd_add_connection(struct smbXsrv_client *client, int sock_fd, + struct smbXsrv_connection **_xconn); + void reply_smb2002(struct smb_request *req, uint16_t choice); void reply_smb20ff(struct smb_request *req, uint16_t choice); void smbd_smb2_first_negprot(struct smbXsrv_connection *xconn, |