diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-05-20 19:47:13 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-09-19 09:15:11 +0200 |
commit | e23785ae37bae80d3e356e44a00b21a0037c860e (patch) | |
tree | 6ba9dd2e836270c38b64ef2213b5b0a5874a2003 /source3/librpc | |
parent | d27ae4a14a1944ea522431a419d45c3036a15eeb (diff) | |
download | samba-e23785ae37bae80d3e356e44a00b21a0037c860e.tar.gz |
s3:smbd: introduce 'struct smbXsrv_client' in order to prepare multi-channel support
This structure is supposed to hold the global state shared between
multiple connections from the same client.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/idl/smbXsrv.idl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/source3/librpc/idl/smbXsrv.idl b/source3/librpc/idl/smbXsrv.idl index ca5c3f3fde9..ed242c3710a 100644 --- a/source3/librpc/idl/smbXsrv.idl +++ b/source3/librpc/idl/smbXsrv.idl @@ -77,6 +77,27 @@ interface smbXsrv [in] smbXsrv_version_globalB blob ); + /* client */ + + typedef struct { + [ignore] struct tevent_context *ev_ctx; + [ignore] struct messaging_context *msg_ctx; + + /* + * There's just one 'sconn' per client. + * It holds the FSA layer details, which are global + * per client (process). + */ + [ignore] struct smbd_server_connection *sconn; + + /* + * For now this is only one connection! + * With multi-channel support we'll get more than + * one in future. + */ + [ignore] struct smbXsrv_connection *connections; + } smbXsrv_client; + /* sessions */ typedef struct { |