diff options
author | Volker Lendecke <vl@samba.org> | 2014-06-20 08:41:59 +0000 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2014-06-21 20:38:11 +0200 |
commit | 891e63b4bef9ca28fedd311a0e02192e9a0ded19 (patch) | |
tree | e188b59ec7ee0bb33286eaa5780f29bfa29d6991 /source3/libsmb/proto.h | |
parent | f0876ff68a664ab5dd10ae77cddf2186e8a39768 (diff) | |
download | samba-891e63b4bef9ca28fedd311a0e02192e9a0ded19.tar.gz samba-891e63b4bef9ca28fedd311a0e02192e9a0ded19.tar.xz samba-891e63b4bef9ca28fedd311a0e02192e9a0ded19.zip |
libsmb: Add cli_create_send/recv
Async wrapper around smb1 and smb2 create
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libsmb/proto.h')
-rw-r--r-- | source3/libsmb/proto.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h index 63d2df4a37..7c09e588f6 100644 --- a/source3/libsmb/proto.h +++ b/source3/libsmb/proto.h @@ -359,6 +359,19 @@ struct tevent_req *cli_ntcreate_send(TALLOC_CTX *mem_ctx, NTSTATUS cli_ntcreate_recv(struct tevent_req *req, uint16_t *pfnum, struct smb_create_returns *cr); +struct tevent_req *cli_create_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct cli_state *cli, + const char *fname, + uint32_t create_flags, + uint32_t desired_access, + uint32_t file_attributes, + uint32_t share_access, + uint32_t create_disposition, + uint32_t create_options, + uint8_t security_flags); +NTSTATUS cli_create_recv(struct tevent_req *req, uint16_t *fnum, + struct smb_create_returns *cr); NTSTATUS cli_ntcreate(struct cli_state *cli, const char *fname, uint32_t CreatFlags, |