diff options
author | Jeremy Allison <jra@samba.org> | 2011-12-03 21:13:08 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-12-03 21:13:08 -0800 |
commit | 4e709dc42fff464191f21dfa150a18a072d48569 (patch) | |
tree | 83a3005e5fb537c9c88faff8fe4f5c93cb219768 /source3/libsmb/proto.h | |
parent | c326b37358260ba4f3a95463acdbf02ddae0ab97 (diff) | |
download | samba-4e709dc42fff464191f21dfa150a18a072d48569.tar.gz samba-4e709dc42fff464191f21dfa150a18a072d48569.tar.bz2 samba-4e709dc42fff464191f21dfa150a18a072d48569.zip |
Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()
with a call that uses NTCreateX in preference to OpenAndX.
Diffstat (limited to 'source3/libsmb/proto.h')
-rw-r--r-- | source3/libsmb/proto.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h index 182e8c8e4d..27826cbfa4 100644 --- a/source3/libsmb/proto.h +++ b/source3/libsmb/proto.h @@ -387,16 +387,16 @@ uint8_t *trans2_bytes_push_str(uint8_t *buf, bool ucs2, size_t *pconverted_size); uint8_t *trans2_bytes_push_bytes(uint8_t *buf, const uint8_t *bytes, size_t num_bytes); -struct tevent_req *cli_open_create(TALLOC_CTX *mem_ctx, +struct tevent_req *cli_openx_create(TALLOC_CTX *mem_ctx, struct event_context *ev, struct cli_state *cli, const char *fname, int flags, int share_mode, struct tevent_req **psmbreq); -struct tevent_req *cli_open_send(TALLOC_CTX *mem_ctx, struct event_context *ev, +struct tevent_req *cli_openx_send(TALLOC_CTX *mem_ctx, struct event_context *ev, struct cli_state *cli, const char *fname, int flags, int share_mode); -NTSTATUS cli_open_recv(struct tevent_req *req, uint16_t *fnum); -NTSTATUS cli_open(struct cli_state *cli, const char *fname, int flags, int share_mode, uint16_t *pfnum); +NTSTATUS cli_openx_recv(struct tevent_req *req, uint16_t *fnum); +NTSTATUS cli_openx(struct cli_state *cli, const char *fname, int flags, int share_mode, uint16_t *pfnum); struct tevent_req *cli_close_create(TALLOC_CTX *mem_ctx, struct event_context *ev, struct cli_state *cli, uint16_t fnum, |