summaryrefslogtreecommitdiffstats
path: root/source/lib/adt_tree.c
Commit message (Collapse)AuthorAgeFilesLines
* BIG patch...Andrew Bartlett2003-01-021-1/+1
| | | | | | | | | | | | | | | | This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett
* fixed a logic error in the sorted_tree_find_child() routineGerald Carter2002-07-201-32/+63
| | | | | that caused a valid search to fail. The printing registry view now works again.
* fixed seg fault in registry frontend caused by trying toGerald Carter2002-07-191-0/+2
| | | | use a destroyed TALLOC_CTX*
* * refactored registry operations some. subkey lists andGerald Carter2002-07-191-15/+32
| | | | | | | | | | | | | | | | | | registry values are now passed around in containers (REGSUBKEY_CTR & REGVAL_CTR) which each possess a TALLOC_CTX. * removed subkey_specific_fn() from REGISTRY_OPS. Is implemented in the form of a wrapper * temporarily broke the printing registry ops. * implemented inheritence for the data_p of nodes in a SORTED_TREE * All REGISTRY_KEY instances now store a valid REGISTRY_HOOK since the default REGOSTRY_OPS structure is stored in the root of the cache_tree. * Probably some other change I forgot.... T
* virtual registry framework with initial printing hooks.Gerald Carter2002-07-181-0/+414