summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-12-19 18:12:44 +0100
committerVolker Lendecke <vl@samba.org>2008-12-19 18:12:44 +0100
commitfa5f11279bda32dcb9a85c74b2b4a967a8e52104 (patch)
treef889ea95bacb7b6b41757b91c824119bf034ab73 /source3/include
parentae0c6cff25c2be64fb5d19e738e449f845551d8c (diff)
downloadsamba-fa5f11279bda32dcb9a85c74b2b4a967a8e52104.tar.gz
samba-fa5f11279bda32dcb9a85c74b2b4a967a8e52104.tar.bz2
samba-fa5f11279bda32dcb9a85c74b2b4a967a8e52104.zip
Add the cli_wct_ofs routine to calculate the offset for write&x
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/async_smb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/async_smb.h b/source3/include/async_smb.h
index ef53ee2163..7fc4ff7d27 100644
--- a/source3/include/async_smb.h
+++ b/source3/include/async_smb.h
@@ -122,6 +122,8 @@ struct async_req *cli_request_send(TALLOC_CTX *mem_ctx,
size_t bytes_alignment,
uint32_t num_bytes, const uint8_t *bytes);
+uint16_t cli_wct_ofs(const struct cli_state *cli);
+
bool cli_chain_cork(struct cli_state *cli, struct event_context *ev,
size_t size_hint);
void cli_chain_uncork(struct cli_state *cli);