summaryrefslogtreecommitdiff
path: root/src/ternary.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2001-09-08Lowered the number BUFARRAY and BUFSIZE constants to reduce the maximumRobert James Kaes1-5/+6
memory usage of a ternary tree. It now should not exceed 4MB of memory.
2001-09-07Fixed the ternary_destroy() function which causes segfaults.Robert James Kaes1-9/+11
2001-09-06Make sure that freeptr actually points to something before we try toRobert James Kaes1-2/+3
invoke it.
2001-09-04Switched to a case insensitive search method.Robert James Kaes1-3/+4
2001-08-30Renamed ternary_insert() to ternary_insert_replace() and added the abilityRobert James Kaes1-3/+10
to replace existing data (without a memory leak.) Added two DEFINES ternary_insert() and ternary_replace() to aid in coding.
2001-05-23Removed a debugging aid.Robert James Kaes1-2/+1
2000-11-23Fixed MACRO error.Robert James Kaes1-2/+2
2000-10-23In the Key Found code, don't display the string in the debug code since itRobert James Kaes1-2/+2
doesn't exist anymore when we display it. Doh!
2000-09-26Added the TE_EXISTS return code, and cleaned up the ternary_destroyRobert James Kaes1-34/+20
function.
2000-09-12Generalized the ternary code which was already being used in anonymous.*Robert James Kaes1-0/+413
now it can be used (and is used) in both anonymous and dnscache