summaryrefslogtreecommitdiff
path: root/source3/libsmb/smb2cli.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-19 05:37:34 +0200
committerStefan Metzmacher <metze@samba.org>2011-11-24 19:02:31 +0100
commit3327c1e86e2172f8fea2ba35af3b1357378e5a49 (patch)
treebea6d93496388812d7dfd33e9311bffc16be144d /source3/libsmb/smb2cli.h
parent99b3d57fc36ca7e0f493b79886027930278b812a (diff)
downloadsamba-3327c1e86e2172f8fea2ba35af3b1357378e5a49.tar.gz
samba-3327c1e86e2172f8fea2ba35af3b1357378e5a49.tar.bz2
samba-3327c1e86e2172f8fea2ba35af3b1357378e5a49.zip
s3:smb2cli: make smb2cli_session_setup_send/recv non-static
metze
Diffstat (limited to 'source3/libsmb/smb2cli.h')
-rw-r--r--source3/libsmb/smb2cli.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/source3/libsmb/smb2cli.h b/source3/libsmb/smb2cli.h
index 048932d2f8..f3e5bea344 100644
--- a/source3/libsmb/smb2cli.h
+++ b/source3/libsmb/smb2cli.h
@@ -20,8 +20,26 @@
#ifndef __SMB2CLI_H__
#define __SMB2CLI_H__
+struct smbXcli_conn;
+struct smbXcli_session;
+
NTSTATUS smb2cli_negprot(struct cli_state *cli);
+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,
+ struct smbXcli_session *in_previous_session,
+ 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);
+
struct tevent_req *smb2cli_sesssetup_ntlmssp_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct cli_state *cli,