From 8383a3459aa91a6edbdd996b19a685bf0cbd6627 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 23 Nov 2005 18:49:30 +0000 Subject: r11885: Add forgotten files (This used to be commit 470cc5952981c3625c7e35f44c9fd41d19593396) --- source4/include/structs.h | 1 + source4/libcli/composite/composite.c | 9 +++++++++ 2 files changed, 10 insertions(+) (limited to 'source4') diff --git a/source4/include/structs.h b/source4/include/structs.h index a846b39bcf..c461c6443f 100644 --- a/source4/include/structs.h +++ b/source4/include/structs.h @@ -338,6 +338,7 @@ struct param; struct socket_context; struct smbcli_socket; +struct smbcli_request; struct _krb5_krb_auth_data; 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; +} -- cgit