ltdb_search.c:508ff

simo idra at samba.org
Wed Oct 4 22:27:34 GMT 2006


On Wed, 2006-10-04 at 22:13 +0200, Volker Lendecke wrote:
> Hi, Simo/Tridge!
> 
> What's the meaning of the variable ltdb_ac in ltdb_search()?
> To me it seems that it's initialized and then abandoned.

It is the async context.
It is not initialized:
	ltdb_ac = talloc_get_type(req->handle->private_data, struct ltdb_context);

It is retrieved, and filled to be used in subsequent calls.
It is retrieved again as ac in ltdb_search_index() for example.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba-technical mailing list