summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/proto.h')
-rw-r--r--source3/libsmb/proto.h13
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,