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:18 +0200 |
commit | 4efc85c6f152ef8cf93e76389659fd8eb019a0ee (patch) | |
tree | 748e07e1114d70bdc66aef95808f4f62b95101dd /source3/libsmb/smb2cli.h | |
parent | ab913d17681183d57f21faf7871ba30b5ae41239 (diff) | |
download | samba-4efc85c6f152ef8cf93e76389659fd8eb019a0ee.tar.gz samba-4efc85c6f152ef8cf93e76389659fd8eb019a0ee.tar.bz2 samba-4efc85c6f152ef8cf93e76389659fd8eb019a0ee.zip |
s3:libsmb: add smb2cli_sesssetup*() and smb2cli_logoff*()
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 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source3/libsmb/smb2cli.h b/source3/libsmb/smb2cli.h index f4fd97c801..b32598f866 100644 --- a/source3/libsmb/smb2cli.h +++ b/source3/libsmb/smb2cli.h @@ -26,4 +26,20 @@ struct tevent_req *smb2cli_negprot_send(TALLOC_CTX *mem_ctx, NTSTATUS smb2cli_negprot_recv(struct tevent_req *req); NTSTATUS smb2cli_negprot(struct cli_state *cli); +struct tevent_req *smb2cli_sesssetup_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct cli_state *cli, + const char *user, + const char *domain, + const char *pass); +NTSTATUS smb2cli_sesssetup_recv(struct tevent_req *req); +NTSTATUS smb2cli_sesssetup(struct cli_state *cli, const char *user, + const char *domain, const char *pass); + +struct tevent_req *smb2cli_logoff_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct cli_state *cli); +NTSTATUS smb2cli_logoff_recv(struct tevent_req *req); +NTSTATUS smb2cli_logoff(struct cli_state *cli); + #endif /* __SMB2CLI_H__ */ |