move adt_tree.c (virtual registry tree) to new talloc()

Gerald (Jerry) Carter jerry at
Sat Sep 3 16:33:16 GMT 2005

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++ :-)

|> Unless someone has a technical reason to choose
|> one over the other, then IO guess I'll remain an
|> infidel in the eyes of the 'struct' religion :-)
| Tridge once mentioned better syntax highlighting
| in editors, but I think this hardly qualifies as a
| technical reason. I think it really comes down to
| taste.

That actually is a good technical reason.  I'll ponder
it :-)

But right now I'm shooting for stealing the 10,000
commit from tpot :-)

cheers, jerry
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -


More information about the samba-technical mailing list