svn commit: samba r9703 - in branches/SAMBA_4_0: . source/lib/events
tridge at samba.org
tridge at samba.org
Sun Aug 28 02:37:27 GMT 2005
Author: tridge
Date: 2005-08-28 02:37:27 +0000 (Sun, 28 Aug 2005)
New Revision: 9703
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9703
Log:
r9683 at blu: tridge | 2005-08-27 18:56:05 +1000
added a comment about event_context_find()
Modified:
branches/SAMBA_4_0/
branches/SAMBA_4_0/source/lib/events/events.c
Changeset:
Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: svk:merge
- a953eb74-4aff-0310-a63c-855d20285ebb:/local/samba4:9680
+ a953eb74-4aff-0310-a63c-855d20285ebb:/local/samba4:9683
Modified: branches/SAMBA_4_0/source/lib/events/events.c
===================================================================
--- branches/SAMBA_4_0/source/lib/events/events.c 2005-08-28 02:37:14 UTC (rev 9702)
+++ branches/SAMBA_4_0/source/lib/events/events.c 2005-08-28 02:37:27 UTC (rev 9703)
@@ -158,6 +158,10 @@
find an event context that is a parent of the given memory context,
or create a new event context as a child of the given context if
none is found
+
+ This should be used in preference to event_context_init() in places
+ where you would prefer to use the existing event context if possible
+ (which is most situations)
*/
struct event_context *event_context_find(TALLOC_CTX *mem_ctx)
{
More information about the samba-cvs
mailing list