Functions | |
void | apr_pool_cleanup_register (apr_pool_t *p, const void *data, apr_status_t(*plain_cleanup)(void *), apr_status_t(*child_cleanup)(void *)) |
void | apr_pool_cleanup_kill (apr_pool_t *p, const void *data, apr_status_t(*cleanup)(void *)) |
void | apr_pool_child_cleanup_set (apr_pool_t *p, const void *data, apr_status_t(*plain_cleanup)(void *), apr_status_t(*child_cleanup)(void *)) |
apr_status_t | apr_pool_cleanup_run (apr_pool_t *p, void *data, apr_status_t(*cleanup)(void *)) |
apr_status_t | apr_pool_cleanup_null (void *data) |
void | apr_pool_cleanup_for_exec (void) |
|
Replace the child cleanup function of a previously registered cleanup. The cleanup most recently registered with p having the same values of data and plain_cleanup will have the registered child cleanup function replaced with child_cleanup.
|
|
Run all registered child cleanups, in preparation for an exec() call in a forked child -- close files, etc., but *don't* flush I/O buffers, *don't* wait for subprocesses, and *don't* free any memory. |
|
Remove a previously registered cleanup function. The cleanup most recently registered with p having the same values of data and cleanup will be removed.
|
|
An empty cleanup function. Passed to apr_pool_cleanup_register() when no cleanup is required.
|
|
Register a function to be called when a pool is cleared or destroyed
|
|
Run the specified cleanup function immediately and unregister it. The cleanup most recently registered with p having the same values of data and cleanup will be removed and cleanup will be called with data as the argument.
|