mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
s3:smb2cli: make smb2cli_session_setup_send/recv non-static
metze
This commit is contained in:
parent
99b3d57fc3
commit
3327c1e86e
@ -20,8 +20,26 @@
|
|||||||
#ifndef __SMB2CLI_H__
|
#ifndef __SMB2CLI_H__
|
||||||
#define __SMB2CLI_H__
|
#define __SMB2CLI_H__
|
||||||
|
|
||||||
|
struct smbXcli_conn;
|
||||||
|
struct smbXcli_session;
|
||||||
|
|
||||||
NTSTATUS smb2cli_negprot(struct cli_state *cli);
|
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_req *smb2cli_sesssetup_ntlmssp_send(TALLOC_CTX *mem_ctx,
|
||||||
struct tevent_context *ev,
|
struct tevent_context *ev,
|
||||||
struct cli_state *cli,
|
struct cli_state *cli,
|
||||||
|
@ -38,7 +38,7 @@ struct smb2cli_session_setup_state {
|
|||||||
|
|
||||||
static void smb2cli_session_setup_done(struct tevent_req *subreq);
|
static void smb2cli_session_setup_done(struct tevent_req *subreq);
|
||||||
|
|
||||||
static struct tevent_req *smb2cli_session_setup_send(TALLOC_CTX *mem_ctx,
|
struct tevent_req *smb2cli_session_setup_send(TALLOC_CTX *mem_ctx,
|
||||||
struct tevent_context *ev,
|
struct tevent_context *ev,
|
||||||
struct smbXcli_conn *conn,
|
struct smbXcli_conn *conn,
|
||||||
uint32_t timeout_msec,
|
uint32_t timeout_msec,
|
||||||
@ -206,10 +206,10 @@ static void smb2cli_session_setup_done(struct tevent_req *subreq)
|
|||||||
tevent_req_done(req);
|
tevent_req_done(req);
|
||||||
}
|
}
|
||||||
|
|
||||||
static NTSTATUS smb2cli_session_setup_recv(struct tevent_req *req,
|
NTSTATUS smb2cli_session_setup_recv(struct tevent_req *req,
|
||||||
TALLOC_CTX *mem_ctx,
|
TALLOC_CTX *mem_ctx,
|
||||||
struct iovec **recv_iov,
|
struct iovec **recv_iov,
|
||||||
DATA_BLOB *out_security_buffer)
|
DATA_BLOB *out_security_buffer)
|
||||||
{
|
{
|
||||||
struct smb2cli_session_setup_state *state =
|
struct smb2cli_session_setup_state *state =
|
||||||
tevent_req_data(req,
|
tevent_req_data(req,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user