summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-08-02 18:44:39 +0200
committerVolker Lendecke <vl@samba.org>2008-08-28 17:53:36 +0200
commitde9fcfc79504fbca0350a99269b4a3423e5f2561 (patch)
tree07dcd0c55bace02528b913f0b2bd30bb633a0953 /source3/include/proto.h
parent8f408a676eb1d2bac665d8212d727dafeecd386e (diff)
downloadsamba-de9fcfc79504fbca0350a99269b4a3423e5f2561.tar.gz
samba-de9fcfc79504fbca0350a99269b4a3423e5f2561.tar.bz2
samba-de9fcfc79504fbca0350a99269b4a3423e5f2561.zip
Add async open&x
(This used to be commit faf353edd60967efac4d5c222db14fa730866273)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 41185a63b9..ac91b144de 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4378,6 +4378,9 @@ int cli_nt_create_full(struct cli_state *cli, const char *fname,
uint32 CreateDisposition, uint32 CreateOptions,
uint8 SecuityFlags);
int cli_nt_create(struct cli_state *cli, const char *fname, uint32 DesiredAccess);
+struct async_req *cli_open_send(TALLOC_CTX *mem_ctx, struct cli_state *cli,
+ const char *fname, int flags, int share_mode);
+NTSTATUS cli_open_recv(struct async_req *req, int *fnum);
int cli_open(struct cli_state *cli, const char *fname, int flags, int share_mode);
struct async_req *cli_close_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
struct cli_state *cli, int fnum);