1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s3:libsmb: add cli_state_security_mode()

metze
This commit is contained in:
Stefan Metzmacher 2011-09-13 16:45:04 +02:00
parent 7c405fd92c
commit fbd5cb5835
2 changed files with 6 additions and 0 deletions

View File

@ -519,6 +519,11 @@ uint16_t cli_state_max_requests(struct cli_state *cli)
return cli->max_mux;
}
uint16_t cli_state_security_mode(struct cli_state *cli)
{
return cli->sec_mode;
}
struct cli_echo_state {
uint16_t vwv[1];
DATA_BLOB data;

View File

@ -182,6 +182,7 @@ enum protocol_types cli_state_protocol(struct cli_state *cli);
uint32_t cli_state_capabilities(struct cli_state *cli);
uint32_t cli_state_available_size(struct cli_state *cli, uint32_t ofs);
uint16_t cli_state_max_requests(struct cli_state *cli);
uint16_t cli_state_security_mode(struct cli_state *cli);
struct tevent_req *cli_echo_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
struct cli_state *cli, uint16_t num_echos,
DATA_BLOB data);