summaryrefslogtreecommitdiffstats
path: root/source4/winbind/wb_server.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@redhat.com>2010-01-17 10:21:21 +0100
committerStefan Metzmacher <metze@samba.org>2010-01-20 22:46:59 +0100
commitfd6a79228347ec032294a1f462dda56095fc1d8b (patch)
treea70efb66a9a09faad2ba9b4f5b151e578a1bc5e2 /source4/winbind/wb_server.h
parent3471d3677a781e6a03e1a8010946aa82ad7aad83 (diff)
downloadsamba-fd6a79228347ec032294a1f462dda56095fc1d8b.tar.gz
samba-fd6a79228347ec032294a1f462dda56095fc1d8b.tar.xz
samba-fd6a79228347ec032294a1f462dda56095fc1d8b.zip
s4-winbind: Migrated winbind connection to tsocket.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/winbind/wb_server.h')
-rw-r--r--source4/winbind/wb_server.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/source4/winbind/wb_server.h b/source4/winbind/wb_server.h
index be79872e658..b5576d0f408 100644
--- a/source4/winbind/wb_server.h
+++ b/source4/winbind/wb_server.h
@@ -100,7 +100,9 @@ struct wbsrv_connection {
/* how many calls are pending */
uint32_t pending_calls;
- struct packet_context *packet;
+ struct tstream_context *tstream;
+
+ struct tevent_queue *send_queue;
struct loadparm_context *lp_ctx;
};
@@ -148,9 +150,6 @@ struct wbsrv_samba3_call {
/* the connection the call belongs to */
struct wbsrv_connection *wbconn;
- /* the backend should use this event context */
- struct tevent_context *event_ctx;
-
/* here the backend can store stuff like composite_context's ... */
void *private_data;
@@ -159,6 +158,10 @@ struct wbsrv_samba3_call {
/* the response structure of the samba3 protocol*/
struct winbindd_response response;
+
+ DATA_BLOB in;
+ DATA_BLOB out;
+ struct iovec out_iov[1];
};
struct netr_LMSessionKey;