diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-11-23 18:49:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:41 -0500 |
commit | 8383a3459aa91a6edbdd996b19a685bf0cbd6627 (patch) | |
tree | 5d589021f94a3a1972f94d043bb5417166f5f032 /source4/libcli | |
parent | 88cda26ac3788a0133f266f36532923bb39cd74c (diff) | |
download | samba-8383a3459aa91a6edbdd996b19a685bf0cbd6627.tar.gz samba-8383a3459aa91a6edbdd996b19a685bf0cbd6627.tar.bz2 samba-8383a3459aa91a6edbdd996b19a685bf0cbd6627.zip |
r11885: Add forgotten files
(This used to be commit 470cc5952981c3625c7e35f44c9fd41d19593396)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/composite/composite.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/libcli/composite/composite.c b/source4/libcli/composite/composite.c index c78d039905..ba9b0673da 100644 --- a/source4/libcli/composite/composite.c +++ b/source4/libcli/composite/composite.c @@ -147,3 +147,12 @@ void composite_continue_irpc(struct composite_context *ctx, new_req->async.private = private_data; } +void composite_continue_smb(struct composite_context *ctx, + struct smbcli_request *new_req, + void (*continuation)(struct smbcli_request *), + void *private_data) +{ + if (composite_nomem(new_req, ctx)) return; + new_req->async.fn = continuation; + new_req->async.private = private_data; +} |