summaryrefslogtreecommitdiffstats
path: root/source3/include/async_smb.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-08-01 23:14:51 +0200
committerVolker Lendecke <vl@samba.org>2008-08-28 17:53:36 +0200
commit58aa97c0d9db06588d1aba4f06a3c98ed2098d8f (patch)
tree601782ac1e5f1d214e7df883b421100f3409f505 /source3/include/async_smb.h
parent52e23fe460ed662e10137503abd08f4bd6596651 (diff)
downloadsamba-58aa97c0d9db06588d1aba4f06a3c98ed2098d8f.tar.gz
samba-58aa97c0d9db06588d1aba4f06a3c98ed2098d8f.tar.xz
samba-58aa97c0d9db06588d1aba4f06a3c98ed2098d8f.zip
Refactoring: Add the routine cli_request_send()
cli_request_send() is supposed to bundle all generic SMB-header handling. This makes cli_request_new static to async_smb.c. (This used to be commit 7e73dd4e7622db64d30d48ba106892e0895fc188)
Diffstat (limited to 'source3/include/async_smb.h')
-rw-r--r--source3/include/async_smb.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/include/async_smb.h b/source3/include/async_smb.h
index 19408be74b4..5ec6b12050a 100644
--- a/source3/include/async_smb.h
+++ b/source3/include/async_smb.h
@@ -20,14 +20,14 @@
#include "includes.h"
/*
- * Create a fresh async smb request
+ * Ship a new smb request to the server
*/
-struct async_req *cli_request_new(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
- struct cli_state *cli,
- uint8_t num_words, size_t num_bytes,
- struct cli_request **preq);
+struct async_req *cli_request_send(TALLOC_CTX *mem_ctx, struct cli_state *cli,
+ uint8_t smb_command,
+ uint8_t additional_flags,
+ uint8_t wct, const uint16_t *vwv,
+ uint16_t num_bytes, const uint8_t *bytes);
/*
* Convenience function to get the SMB part out of an async_req