svn commit: samba r11885 - in branches/SAMBA_4_0/source: include libcli/composite

vlendec at samba.org vlendec at samba.org
Wed Nov 23 18:49:30 GMT 2005


Author: vlendec
Date: 2005-11-23 18:49:30 +0000 (Wed, 23 Nov 2005)
New Revision: 11885

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11885

Log:
Add forgotten files
Modified:
   branches/SAMBA_4_0/source/include/structs.h
   branches/SAMBA_4_0/source/libcli/composite/composite.c


Changeset:
Modified: branches/SAMBA_4_0/source/include/structs.h
===================================================================
--- branches/SAMBA_4_0/source/include/structs.h	2005-11-23 17:21:08 UTC (rev 11884)
+++ branches/SAMBA_4_0/source/include/structs.h	2005-11-23 18:49:30 UTC (rev 11885)
@@ -338,6 +338,7 @@
 
 struct socket_context;
 struct smbcli_socket;
+struct smbcli_request;
 
 struct _krb5_krb_auth_data;
 

Modified: branches/SAMBA_4_0/source/libcli/composite/composite.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/composite/composite.c	2005-11-23 17:21:08 UTC (rev 11884)
+++ branches/SAMBA_4_0/source/libcli/composite/composite.c	2005-11-23 18:49:30 UTC (rev 11885)
@@ -147,3 +147,12 @@
 	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;
+}



More information about the samba-cvs mailing list