diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-04-16 12:45:02 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-04-16 12:54:52 +0200 |
commit | 6054e9a48b32708797d79a30eaa05d90bdebde27 (patch) | |
tree | f5f96ca262c48480a4ed840ee3190d1bc7977191 /libcli | |
parent | c60c2c5d94c98e8c2888d912712e0d2155ab7fe7 (diff) | |
download | samba-6054e9a48b32708797d79a30eaa05d90bdebde27.tar.gz samba-6054e9a48b32708797d79a30eaa05d90bdebde27.tar.bz2 samba-6054e9a48b32708797d79a30eaa05d90bdebde27.zip |
libcli/smb: add smb2cli_session_get_flags()
metze
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/smb/smbXcli_base.c | 5 | ||||
-rw-r--r-- | libcli/smb/smbXcli_base.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c index 9b924ad747..aad999d737 100644 --- a/libcli/smb/smbXcli_base.c +++ b/libcli/smb/smbXcli_base.c @@ -4082,6 +4082,11 @@ uint64_t smb2cli_session_current_id(struct smbXcli_session *session) return session->smb2.session_id; } +uint16_t smb2cli_session_get_flags(struct smbXcli_session *session) +{ + return session->smb2.session_flags; +} + NTSTATUS smb2cli_session_application_key(struct smbXcli_session *session, TALLOC_CTX *mem_ctx, DATA_BLOB *key) diff --git a/libcli/smb/smbXcli_base.h b/libcli/smb/smbXcli_base.h index dafd83639b..b4a2e390b4 100644 --- a/libcli/smb/smbXcli_base.h +++ b/libcli/smb/smbXcli_base.h @@ -247,6 +247,7 @@ struct smbXcli_session *smbXcli_session_create(TALLOC_CTX *mem_ctx, struct smbXcli_conn *conn); uint8_t smb2cli_session_security_mode(struct smbXcli_session *session); uint64_t smb2cli_session_current_id(struct smbXcli_session *session); +uint16_t smb2cli_session_get_flags(struct smbXcli_session *session); NTSTATUS smb2cli_session_application_key(struct smbXcli_session *session, TALLOC_CTX *mem_ctx, DATA_BLOB *key); |