move adt_tree.c (virtual registry tree) to new talloc()
jra at samba.org
Sat Sep 3 16:50:57 GMT 2005
On Sat, Sep 03, 2005 at 11:33:16AM -0500, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Volker Lendecke wrote:
> | The way I see it is the following: Everything that is an
> | opaque data type is a structure. If an implementation really
> | wants to make this opaque, use a forward reference without
> | data fields. This way you can only deal with the
> | structure as a pointer, but that might be acceptable.
> | As we have talloc destructors, a convention might
> | be to simply talloc_free such an abstract data type
> | and have the module clean up itself.
> Yeah. And then maybe we can rename 'struct adt_tree'
> to 'class adt_tree' and start using g++ :-)
Go for it ! :-)
More information about the samba-technical