pool_register_cleanup_fn

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION

NAME

pool_register_cleanup_fn - call function when pool is deleted

SYNOPSIS

#include <pool.h>

void pool_register_cleanup_fn (pool, void (*fn) (void *), void *data);

DESCRIPTION

Register a function to be called when the pool is deleted. There is no way to unregister this function. If you wish to do that, then you probably want to register it in a subpool.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

c2lib-1.2.13