summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-12 23:07:21 +0100
committerVolker Lendecke <vl@samba.org>2009-11-13 09:30:30 +0100
commitf9ad5cd133b57b66a3b71ede7829ef8c226f2224 (patch)
tree65599c9901d82872b2a60278cf4bdb52e0adec9c /source3/include
parent3732798008f26052c030e8a8fc9c9404fd6f5669 (diff)
downloadsamba-f9ad5cd133b57b66a3b71ede7829ef8c226f2224.tar.gz
samba-f9ad5cd133b57b66a3b71ede7829ef8c226f2224.tar.bz2
samba-f9ad5cd133b57b66a3b71ede7829ef8c226f2224.zip
s3: Convert cli_unix_extensions_version to async
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 0eb5815f64..f9a2a50ec2 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2682,8 +2682,16 @@ NTSTATUS cli_notify_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
/* The following definitions come from libsmb/clifsinfo.c */
-bool cli_unix_extensions_version(struct cli_state *cli, uint16 *pmajor, uint16 *pminor,
- uint32 *pcaplow, uint32 *pcaphigh);
+struct tevent_req *cli_unix_extensions_version_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct cli_state *cli);
+NTSTATUS cli_unix_extensions_version_recv(struct tevent_req *req,
+ uint16_t *pmajor, uint16_t *pminor,
+ uint32_t *pcaplow,
+ uint32_t *pcaphigh);
+NTSTATUS cli_unix_extensions_version(struct cli_state *cli, uint16 *pmajor,
+ uint16 *pminor, uint32 *pcaplow,
+ uint32 *pcaphigh);
bool cli_set_unix_extensions_capabilities(struct cli_state *cli, uint16 major, uint16 minor,
uint32 caplow, uint32 caphigh);
bool cli_get_fs_attr_info(struct cli_state *cli, uint32 *fs_attr);