summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2008-09-09 14:37:17 +0200
committerVolker Lendecke <vl@samba.org>2008-09-09 17:37:34 +0200
commit6ba8c105c541636ee79e20eb7c5547ed6d8117e2 (patch)
tree5c7742f58e858f6e591c3b9fa1ca7e2435175301 /source3/include
parent6344b8ec27809950810024956161e041d6e83753 (diff)
downloadsamba-6ba8c105c541636ee79e20eb7c5547ed6d8117e2.tar.gz
samba-6ba8c105c541636ee79e20eb7c5547ed6d8117e2.tar.bz2
samba-6ba8c105c541636ee79e20eb7c5547ed6d8117e2.zip
Add utility function cli_in_chain()
This gives a hint whether a function is called from within the middle of a chain. In particular the trans calls don't really like this. (This used to be commit 4252b32db5ef7483f2c5c52312b6e6dc68d1d687)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/async_smb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/async_smb.h b/source3/include/async_smb.h
index e9e10023e3..4e2061813f 100644
--- a/source3/include/async_smb.h
+++ b/source3/include/async_smb.h
@@ -124,6 +124,7 @@ struct async_req *cli_request_send(TALLOC_CTX *mem_ctx,
bool cli_chain_cork(struct cli_state *cli, struct event_context *ev,
size_t size_hint);
void cli_chain_uncork(struct cli_state *cli);
+bool cli_in_chain(struct cli_state *cli);
NTSTATUS cli_pull_reply(struct async_req *req,
uint8_t *pwct, uint16_t **pvwv,