]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: lru: Add the possibility to free data when an item is removed
authorChristopher Faulet <cfaulet@qualys.com>
Tue, 9 Jun 2015 15:06:17 +0000 (17:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Jun 2015 16:06:59 +0000 (18:06 +0200)
commitf90ac55d9ed0dc978e236cc22c3922c5607f7c42
tree2bd08257fe6b0f8ba94372b8453853540dab84b3
parentacd6b1f7675f05ea9c821b827423095b327f67a0
MINOR: lru: Add the possibility to free data when an item is removed

Now, When a item is committed in an LRU tree, you can define a function to free
data owned by this item. This function will be called when the item is removed
from the LRU tree or when the tree is destroyed..
include/import/lru.h
src/lru.c
src/pattern.c