diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-04-16 12:49:58 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-04-16 12:54:53 +0200 |
commit | b0939c5774ee4cd4d385309c98eed6893a10381b (patch) | |
tree | 683a8a4f4e9b3006766312d1ba21e7d2bcd9997d | |
parent | 6054e9a48b32708797d79a30eaa05d90bdebde27 (diff) | |
download | samba-b0939c5774ee4cd4d385309c98eed6893a10381b.tar.gz samba-b0939c5774ee4cd4d385309c98eed6893a10381b.tar.bz2 samba-b0939c5774ee4cd4d385309c98eed6893a10381b.zip |
libcli/smb: move smb2cli_session_setup_*() prototypes to the code.
metze
-rw-r--r-- | libcli/smb/smbXcli_base.h | 15 | ||||
-rw-r--r-- | source3/libsmb/smb2cli.h | 15 |
2 files changed, 15 insertions, 15 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_ */ diff --git a/source3/libsmb/smb2cli.h b/source3/libsmb/smb2cli.h index 184bd10fa0..eeb629269b 100644 --- a/source3/libsmb/smb2cli.h +++ b/source3/libsmb/smb2cli.h @@ -24,21 +24,6 @@ struct smbXcli_conn; struct smbXcli_session; struct cli_state; -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); - struct tevent_req *smb2cli_logoff_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct cli_state *cli); |