[PATCH] Make struct tevent_req opaque 2

Volker Lendecke Volker.Lendecke at SerNet.DE
Sun Mar 1 12:31:11 GMT 2009


On Sat, Feb 28, 2009 at 07:50:45PM -0500, simo wrote:
> Updated patch.
> 
> After some discussion with Volker, we decide to shorten the names of
> tevent_req_get_private_data() into _tevent_req_callback_data()
> and
> tevent_req_get_private_state() into _tevent_req_state()

Hmmm. Another look revealed that we have an "enum
tevent_req_state" and now also a macro tevent_req_state.
Probably it would be better to rename the macro
tevent_req_state to tevent_req_get_state to avoid confusion,
and despite the fact it's 4 chars longer :-)

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090301/8b1e02e9/attachment.bin


More information about the samba-technical mailing list