summaryrefslogtreecommitdiff
path: root/server/util/btreemap.h
AgeCommit message (Collapse)AuthorFilesLines
2009-02-16Enhancements and bugfixes to util/btreemap.c 1) Remove useless and unused ↵Stephen Gallagher1-4/+6
btreemap_new() 2) Fix potentially serious memory allocation error. btreemap now requires a TALLOC_CTX to be passed in for assignment to the top node of the tree. Previously it was creating a new root TALLOC_CTX 3) Add new function btreemap_get_keys that will return a sorted array (newly allocated using talloc_realloc()) of keys (const void *) 4) Change the btreemap to use (const void *) keys instead of (void *)
2009-01-09Minor change to btreemap to use an enum for the return codes of ↵Stephen Gallagher1-1/+8
btreemap_search_key.
2008-11-19btreemap.c and btreemap.h seem to be missing from an earlier commit. Adding ↵Stephen Gallagher1-0/+32
them.