summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-12-12 18:54:31 +0100
committerVolker Lendecke <vl@samba.org>2010-12-22 16:39:15 +0100
commit02a74fd36db962eaf6da14b920bccbee7d25f07e (patch)
treee306e9f95eb5aa86d9eb4757096f7114ff5babeb /source3/include
parent444dcc59c2b0fe616c833efa75a061c46ac12274 (diff)
downloadsamba-02a74fd36db962eaf6da14b920bccbee7d25f07e.tar.gz
samba-02a74fd36db962eaf6da14b920bccbee7d25f07e.tar.bz2
samba-02a74fd36db962eaf6da14b920bccbee7d25f07e.zip
s3: Add async cli_session_request
This does not do the redirects, but I think that might be obsolete anyway
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/async_smb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/async_smb.h b/source3/include/async_smb.h
index b73aed0004..d2303cc703 100644
--- a/source3/include/async_smb.h
+++ b/source3/include/async_smb.h
@@ -69,4 +69,11 @@ NTSTATUS cli_smb_oplock_break_waiter_recv(struct tevent_req *req,
uint16_t *pfnum,
uint8_t *plevel);
+struct tevent_req *cli_session_request_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ int sock,
+ const struct nmb_name *called,
+ const struct nmb_name *calling);
+bool cli_session_request_recv(struct tevent_req *req, int *err, uint8_t *resp);
+
#endif