summaryrefslogtreecommitdiff
path: root/source3/libsmb/smb2cli.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-05-03 09:10:53 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-06 14:50:39 +0200
commitdb39372a111ec38ca716c03ac5fd8181644f182d (patch)
treea37ea7dbc42218a60c6678af4bbc4f57ad30552c /source3/libsmb/smb2cli.h
parent3709bf6b01a948100b55524f5b0c7d732774759a (diff)
downloadsamba-db39372a111ec38ca716c03ac5fd8181644f182d.tar.gz
samba-db39372a111ec38ca716c03ac5fd8181644f182d.tar.bz2
samba-db39372a111ec38ca716c03ac5fd8181644f182d.zip
s3:libsmb: add smb2cli_query_info*
metze
Diffstat (limited to 'source3/libsmb/smb2cli.h')
-rw-r--r--source3/libsmb/smb2cli.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/source3/libsmb/smb2cli.h b/source3/libsmb/smb2cli.h
index 132fffdc0b..8ce823b785 100644
--- a/source3/libsmb/smb2cli.h
+++ b/source3/libsmb/smb2cli.h
@@ -188,4 +188,36 @@ NTSTATUS smb2cli_ioctl(struct cli_state *cli,
DATA_BLOB *out_input_buffer,
DATA_BLOB *out_output_buffer);
+struct tevent_req *smb2cli_query_info_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct smbXcli_conn *conn,
+ uint32_t timeout_msec,
+ struct smbXcli_session *session,
+ uint32_t tcon_id,
+ uint8_t in_info_type,
+ uint8_t in_file_info_class,
+ uint32_t in_max_output_length,
+ const DATA_BLOB *in_input_buffer,
+ uint32_t in_additional_info,
+ uint32_t in_flags,
+ uint64_t in_fid_persistent,
+ uint64_t in_fid_volatile);
+NTSTATUS smb2cli_query_info_recv(struct tevent_req *req,
+ TALLOC_CTX *mem_ctx,
+ DATA_BLOB *out_output_buffer);
+NTSTATUS smb2cli_query_info(struct smbXcli_conn *conn,
+ uint32_t timeout_msec,
+ struct smbXcli_session *session,
+ uint32_t tcon_id,
+ uint8_t in_info_type,
+ uint8_t in_file_info_class,
+ uint32_t in_max_output_length,
+ const DATA_BLOB *in_input_buffer,
+ uint32_t in_additional_info,
+ uint32_t in_flags,
+ uint64_t in_fid_persistent,
+ uint64_t in_fid_volatile,
+ TALLOC_CTX *mem_ctx,
+ DATA_BLOB *out_output_buffer);
+
#endif /* __SMB2CLI_H__ */