svn commit: samba r12116 - in branches/SAMBA_4_0/source: lib/socket libcli/composite libcli/ldap libcli/resolve libcli/smb2 librpc/rpc torture/rpc winbind wrepl_server

tridge at samba.org tridge at samba.org
Thu Dec 8 01:13:47 GMT 2005


Author: tridge
Date: 2005-12-08 01:13:45 +0000 (Thu, 08 Dec 2005)
New Revision: 12116

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

Log:

got rid of composite_trigger_done() and composite_trigger_error(), and
instead make the normal composite_done() and composite_error()
functions automatically trigger a delayed callback if the caller has
had no opportunity to setup a async callback

this removes one of the common mistakes in writing a composite function


Modified:
   branches/SAMBA_4_0/source/lib/socket/connect.c
   branches/SAMBA_4_0/source/lib/socket/connect_multi.c
   branches/SAMBA_4_0/source/libcli/composite/composite.c
   branches/SAMBA_4_0/source/libcli/composite/composite.h
   branches/SAMBA_4_0/source/libcli/ldap/ldap_client.c
   branches/SAMBA_4_0/source/libcli/resolve/resolve.c
   branches/SAMBA_4_0/source/libcli/smb2/connect.c
   branches/SAMBA_4_0/source/libcli/smb2/session.c
   branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c
   branches/SAMBA_4_0/source/librpc/rpc/dcerpc_auth.c
   branches/SAMBA_4_0/source/torture/rpc/xplogin.c
   branches/SAMBA_4_0/source/winbind/wb_async_helpers.c
   branches/SAMBA_4_0/source/winbind/wb_sid2domain.c
   branches/SAMBA_4_0/source/wrepl_server/wrepl_out_helpers.c


Changeset:
Sorry, the patch is too large (388 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12116


More information about the samba-cvs mailing list