summaryrefslogtreecommitdiff
path: root/src/ternary.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2001-12-15No longer need this system since it was only being used in the DNS cachingRobert James Kaes1-404/+0
section and the anonymous header section. Once I had removed the DNS caching, the ternary tree system was overkill for the anonymous header code. Replaced in the anonymous header section with a simple linked list.
2001-11-22Reformated text.Robert James Kaes1-24/+30
2001-10-25Header reorganization. Basically all system headers are now included inRobert James Kaes1-17/+5
tinyproxy.h and all the other files include the tinyproxy.h header. This moves all the dependancy issues into one file.
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