summaryrefslogtreecommitdiff
path: root/lib/csv.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2025-03-26 12:48:54 +0000
committerChristian Hopps <chopps@labn.net>2025-04-10 04:49:59 +0000
commitf9c759ee4e2308613739bda2c58d0073a9586fbb (patch)
treecfc93cbb95efb592a72508230159d9632ee6a63c /lib/csv.c
parentf28394313fc243bc7ef43672cabda4112d861cb4 (diff)
lib: nb: add list_entry_done() callback to free resources
The existing iteration callback only allows for a daemon to return a pointer to objects that must already exist and must continue to exists indefinitely. To allow the daemon to return allocated iterator objects and for locking it's container structures we need a callback to tell the daemon when FRR is done using the returned value, so the daemon can free it (or unlock etc) That's what list_entry_done() is for. Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/csv.c')
0 files changed, 0 insertions, 0 deletions