summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-05-20 19:47:13 +0200
committerMichael Adam <obnox@samba.org>2014-09-19 09:15:11 +0200
commite23785ae37bae80d3e356e44a00b21a0037c860e (patch)
tree6ba9dd2e836270c38b64ef2213b5b0a5874a2003 /source3/librpc
parentd27ae4a14a1944ea522431a419d45c3036a15eeb (diff)
downloadsamba-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.idl21
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 {