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

Gerald (Jerry) Carter jerry at samba.org
Sat Sep 3 16:10:15 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Volker Lendecke wrote:
|
| The only comment I have is one of taste: When I touch
| things like this, I try to get rid of the typedefs for
| structs. I don't see much of a difference in
| typing 'struct sorted_tree' instead of 'SORTED_TREE',
| only that I like the former more.

I see I am going to loose this coding style debate.

I actually prefer to use typedef's for opaque data
structures.  Why do you need to know is a structure?
If the adt is manipulated solely by methods, then
why do you need know that it is a structure?

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






cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDGcrnIR7qMdg1EfYRAuV8AKCVhmdARHawEg/rAgON+9FmWLU6eQCg3kq5
p4ortR6bsn8xviHy09qr+tA=
=BJJz
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list