summaryrefslogtreecommitdiff
path: root/libcli/smb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-04-16 12:49:58 +0200
committerStefan Metzmacher <metze@samba.org>2012-04-16 12:54:53 +0200
commitb0939c5774ee4cd4d385309c98eed6893a10381b (patch)
tree683a8a4f4e9b3006766312d1ba21e7d2bcd9997d /libcli/smb
parent6054e9a48b32708797d79a30eaa05d90bdebde27 (diff)
downloadsamba-b0939c5774ee4cd4d385309c98eed6893a10381b.tar.gz
samba-b0939c5774ee4cd4d385309c98eed6893a10381b.tar.bz2
samba-b0939c5774ee4cd4d385309c98eed6893a10381b.zip
libcli/smb: move smb2cli_session_setup_*() prototypes to the code.
metze
Diffstat (limited to 'libcli/smb')
-rw-r--r--libcli/smb/smbXcli_base.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/libcli/smb/smbXcli_base.h b/libcli/smb/smbXcli_base.h
index b4a2e390b4..91dc244835 100644
--- a/libcli/smb/smbXcli_base.h
+++ b/libcli/smb/smbXcli_base.h
@@ -265,4 +265,19 @@ NTSTATUS smb2cli_session_set_channel_key(struct smbXcli_session *session,
const DATA_BLOB channel_key,
const struct iovec *recv_iov);
+struct tevent_req *smb2cli_session_setup_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct smbXcli_conn *conn,
+ uint32_t timeout_msec,
+ struct smbXcli_session *session,
+ uint8_t in_flags,
+ uint32_t in_capabilities,
+ uint32_t in_channel,
+ uint64_t in_previous_session_id,
+ const DATA_BLOB *in_security_buffer);
+NTSTATUS smb2cli_session_setup_recv(struct tevent_req *req,
+ TALLOC_CTX *mem_ctx,
+ struct iovec **recv_iov,
+ DATA_BLOB *out_security_buffer);
+
#endif /* _SMBXCLI_BASE_H_ */