Main Page | Modules | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

Library initialization and termination


Functions

 APR_DECLARE (apr_status_t) apr_initialize(void)
 APR_DECLARE_NONSTD (void) apr_terminate(void)
 APR_DECLARE (void) apr_terminate2(void)

Variables

char const *const ** argv
char const *const char const
*const ** 
env

Function Documentation

APR_DECLARE void   ) 
 

Register an other_child -- a child associated to its registered maintence callback. This callback is invoked when the process dies, is disconnected or disappears.

Parameters:
proc The child process to register.
maintenance maintenance is a function that is invoked with a reason and the data pointer passed here.
data Opaque context data passed to the maintenance function.
write_fd An fd that is probed for writing. If it is ever unwritable then the maintenance is invoked with reason OC_REASON_UNWRITABLE.
p The pool to use for allocating memory.
Bug:
write_fd duplicates the proc->out stream, it's really redundant and should be replaced in the APR 1.0 API with a bitflag of which proc->in/out/err handles should be health checked.

no platform currently tests the pipes health.

Definition at line 131 of file apr_pools.c.

APR_DECLARE apr_status_t   ) 
 

convert an ansi time_t to an apr_time_t

Parameters:
result the resulting apr_time_t
input the time_t to convert

Definition at line 24 of file netware/dso.c.

APR_DECLARE_NONSTD void   ) 
 

Tear down any APR internal data structures which aren't torn down automatically.

Remarks:
An APR program must call this function at termination once it has stopped using APR services. The APR developers suggest using atexit to ensure this is called. When using APR from a language other than C that has problems with the calling convention, use apr_terminate2() instead.

Definition at line 152 of file netware/start.c.


Variable Documentation

char const* const* * argv
 

Definition at line 194 of file apr_general.h.

char const* const char const* const* * env
 

Definition at line 194 of file apr_general.h.