summaryrefslogtreecommitdiff
path: root/source3/libsmb/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-12-03 21:31:32 -0800
committerJeremy Allison <jra@samba.org>2011-12-03 21:31:32 -0800
commitb44cfdf163d5dc0d408a4d2d27854ebfa1e783e5 (patch)
tree712f06e7eecd1d3b42242494f06c1bff3c3d31f2 /source3/libsmb/proto.h
parent4e709dc42fff464191f21dfa150a18a072d48569 (diff)
downloadsamba-b44cfdf163d5dc0d408a4d2d27854ebfa1e783e5.tar.gz
samba-b44cfdf163d5dc0d408a4d2d27854ebfa1e783e5.tar.bz2
samba-b44cfdf163d5dc0d408a4d2d27854ebfa1e783e5.zip
Add cli_open() back as a synchronous wrapper function the calls
NtCreateX followed by openX() if NtCreateX is unsupported.
Diffstat (limited to 'source3/libsmb/proto.h')
-rw-r--r--source3/libsmb/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h
index 27826cbfa4..8dac82358b 100644
--- a/source3/libsmb/proto.h
+++ b/source3/libsmb/proto.h
@@ -397,6 +397,7 @@ struct tevent_req *cli_openx_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
int flags, int share_mode);
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);
+NTSTATUS cli_open(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,