summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-11-23 18:49:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:41 -0500
commit8383a3459aa91a6edbdd996b19a685bf0cbd6627 (patch)
tree5d589021f94a3a1972f94d043bb5417166f5f032 /source4
parent88cda26ac3788a0133f266f36532923bb39cd74c (diff)
downloadsamba-8383a3459aa91a6edbdd996b19a685bf0cbd6627.tar.gz
samba-8383a3459aa91a6edbdd996b19a685bf0cbd6627.tar.bz2
samba-8383a3459aa91a6edbdd996b19a685bf0cbd6627.zip
r11885: Add forgotten files
(This used to be commit 470cc5952981c3625c7e35f44c9fd41d19593396)
Diffstat (limited to 'source4')
-rw-r--r--source4/include/structs.h1
-rw-r--r--source4/libcli/composite/composite.c9
2 files changed, 10 insertions, 0 deletions
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;
+}