diff options
author | Volker Lendecke <vl@sernet.de> | 2008-09-09 14:37:17 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-09-09 17:37:34 +0200 |
commit | 6ba8c105c541636ee79e20eb7c5547ed6d8117e2 (patch) | |
tree | 5c7742f58e858f6e591c3b9fa1ca7e2435175301 /source3/include | |
parent | 6344b8ec27809950810024956161e041d6e83753 (diff) | |
download | samba-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.h | 1 |
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, |