[PATCH] Make struct tevent_req opaque

simo idra at samba.org
Sat Feb 28 14:01:29 MST 2009


This patch makes struct tevent_req opaque to callers by moving it to
tevent_internal.h and add helpers functions to set async.fn,
async.private_data an private_status

This allows the library developer to change or extend tevent_req later
without breaking API and ABI.

I suggest the same change should be done to async_req.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-struct-tevent_req-opaque.patch
Type: text/x-patch
Size: 16739 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090228/1904bed0/0001-Make-struct-tevent_req-opaque.bin


More information about the samba-technical mailing list