diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-05-05 18:12:07 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-08 01:22:19 +0200 |
commit | f21720773fc24424921b6731d0b07df38d00d3e0 (patch) | |
tree | 27c572b04efed6c6bab24ef72f53d322d62c1852 /source3/libsmb/smb2cli.h | |
parent | 4efc85c6f152ef8cf93e76389659fd8eb019a0ee (diff) | |
download | samba-f21720773fc24424921b6731d0b07df38d00d3e0.tar.gz samba-f21720773fc24424921b6731d0b07df38d00d3e0.tar.bz2 samba-f21720773fc24424921b6731d0b07df38d00d3e0.zip |
s3:libsmb: add smb2cli_tcon*() and smb2cli_tdis*()
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
Diffstat (limited to 'source3/libsmb/smb2cli.h')
-rw-r--r-- | source3/libsmb/smb2cli.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/libsmb/smb2cli.h b/source3/libsmb/smb2cli.h index b32598f866..8eeeeac00f 100644 --- a/source3/libsmb/smb2cli.h +++ b/source3/libsmb/smb2cli.h @@ -42,4 +42,17 @@ struct tevent_req *smb2cli_logoff_send(TALLOC_CTX *mem_ctx, NTSTATUS smb2cli_logoff_recv(struct tevent_req *req); NTSTATUS smb2cli_logoff(struct cli_state *cli); +struct tevent_req *smb2cli_tcon_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct cli_state *cli, + const char *share); +NTSTATUS smb2cli_tcon_recv(struct tevent_req *req); +NTSTATUS smb2cli_tcon(struct cli_state *cli, const char *share); + +struct tevent_req *smb2cli_tdis_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct cli_state *cli); +NTSTATUS smb2cli_tdis_recv(struct tevent_req *req); +NTSTATUS smb2cli_tdis(struct cli_state *cli); + #endif /* __SMB2CLI_H__ */ |