summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-03-29 20:00:58 +0200
committerVolker Lendecke <vl@samba.org>2009-04-06 21:32:07 +0200
commitca7cd350a6ac47b981d6c9a8b671f4c18642a9f2 (patch)
tree38989acd99ebb4029b6e0f107099b3828a8f4ab1 /source3/include
parent807328ce6d9dea481995a9f6e86f2b60f4ca4c00 (diff)
downloadsamba-ca7cd350a6ac47b981d6c9a8b671f4c18642a9f2.tar.gz
samba-ca7cd350a6ac47b981d6c9a8b671f4c18642a9f2.tar.bz2
samba-ca7cd350a6ac47b981d6c9a8b671f4c18642a9f2.zip
Convert cli_ntcreate to tevent_req
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index b8ea5d6adc..b8353d51c9 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2488,18 +2488,18 @@ int cli_nt_create_full(struct cli_state *cli, const char *fname,
uint32 FileAttributes, uint32 ShareAccess,
uint32 CreateDisposition, uint32 CreateOptions,
uint8 SecuityFlags);
-struct async_req *cli_ntcreate_send(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
- struct cli_state *cli,
- const char *fname,
- uint32_t CreatFlags,
- uint32_t DesiredAccess,
- uint32_t FileAttributes,
- uint32_t ShareAccess,
- uint32_t CreateDisposition,
- uint32_t CreateOptions,
- uint8_t SecurityFlags);
-NTSTATUS cli_ntcreate_recv(struct async_req *req, uint16_t *pfnum);
+struct tevent_req *cli_ntcreate_send(TALLOC_CTX *mem_ctx,
+ struct event_context *ev,
+ struct cli_state *cli,
+ const char *fname,
+ uint32_t CreatFlags,
+ uint32_t DesiredAccess,
+ uint32_t FileAttributes,
+ uint32_t ShareAccess,
+ uint32_t CreateDisposition,
+ uint32_t CreateOptions,
+ uint8_t SecurityFlags);
+NTSTATUS cli_ntcreate_recv(struct tevent_req *req, uint16_t *pfnum);
NTSTATUS cli_ntcreate(struct cli_state *cli,
const char *fname,
uint32_t CreatFlags,