Classes |
| struct | apr_proc_t |
Defines |
| #define | APR_PROC_CHECK_EXIT(x) (x & APR_PROC_EXIT) |
| #define | APR_PROC_CHECK_SIGNALED(x) (x & APR_PROC_SIGNAL) |
| #define | APR_PROC_CHECK_CORE_DUMP(x) (x & APR_PROC_SIGNAL_CORE) |
| #define | APR_NO_PIPE 0 |
| #define | APR_FULL_BLOCK 1 |
| #define | APR_FULL_NONBLOCK 2 |
| #define | APR_PARENT_BLOCK 3 |
| #define | APR_CHILD_BLOCK 4 |
| #define | APR_NO_FILE 8 |
| #define | APR_READ_BLOCK 3 |
| #define | APR_WRITE_BLOCK 4 |
| #define | APR_NO_FILE 8 |
| #define | APR_LIMIT_CPU 0 |
| #define | APR_LIMIT_MEM 1 |
| #define | APR_LIMIT_NPROC 2 |
| #define | APR_LIMIT_NOFILE 3 |
| #define | APR_OC_REASON_DEATH 0 |
| #define | APR_OC_REASON_UNWRITABLE 1 |
| #define | APR_OC_REASON_RESTART 2 |
| #define | APR_OC_REASON_UNREGISTER 3 |
| #define | APR_OC_REASON_LOST 4 |
| #define | APR_OC_REASON_RUNNING 5 |
| #define | APR_PROC_DETACH_FOREGROUND 0 |
| #define | APR_PROC_DETACH_DAEMONIZE 1 |
Typedefs |
| typedef struct apr_proc_t | apr_proc_t |
| typedef void( | apr_child_errfn_t )(apr_pool_t *proc, apr_status_t err, const char *description) |
| typedef struct apr_thread_t | apr_thread_t |
| typedef struct apr_threadattr_t | apr_threadattr_t |
| typedef struct apr_procattr_t | apr_procattr_t |
| typedef struct apr_thread_once_t | apr_thread_once_t |
| typedef struct apr_threadkey_t | apr_threadkey_t |
typedef struct
apr_other_child_rec_t | apr_other_child_rec_t |
| typedef void *(APR_THREAD_FUNC * | apr_thread_start_t )(apr_thread_t *, void *) |
Enumerations |
| enum | apr_cmdtype_e {
APR_SHELLCMD,
APR_PROGRAM,
APR_PROGRAM_ENV,
APR_PROGRAM_PATH,
APR_SHELLCMD_ENV
} |
| enum | apr_wait_how_e { APR_WAIT,
APR_NOWAIT
} |
| enum | apr_exit_why_e { APR_PROC_EXIT = 1,
APR_PROC_SIGNAL = 2,
APR_PROC_SIGNAL_CORE = 4
} |
| enum | apr_kill_conditions_e {
APR_KILL_NEVER,
APR_KILL_ALWAYS,
APR_KILL_AFTER_TIMEOUT,
APR_JUST_WAIT,
APR_KILL_ONLY_ONCE
} |
Functions |
| | APR_DECLARE (apr_status_t) apr_procattr_create(apr_procattr_t **new_attr |
| | APR_DECLARE (void) apr_proc_other_child_register(apr_proc_t *proc |
Variables |
| apr_pool_t * | cont |
| apr_int32_t | in |
| apr_int32_t apr_int32_t | out |
| apr_int32_t apr_int32_t apr_int32_t | err |
| apr_file_t * | child_in |
| apr_file_t apr_file_t * | parent_in |
| apr_file_t * | child_out |
| apr_file_t apr_file_t * | parent_out |
| apr_file_t * | child_err |
| apr_file_t apr_file_t * | parent_err |
| const char * | dir |
| apr_cmdtype_e | cmd |
| apr_int32_t | detach |
| apr_child_errfn_t * | errfn |
| apr_int32_t | chk |
| apr_int32_t | addrspace |
| const char * | username |
| const char const char * | password |
| const char * | groupname |
| const char * | progname |
| const char const char *const * | args |
const char const char *const
const char *const * | env |
const char const char *const
const char *const
apr_procattr_t * | attr |
const char const char *const
const char *const
apr_procattr_t apr_pool_t * | pool |
| int * | exitcode |
| int apr_exit_why_e * | exitwhy |
| int apr_exit_why_e apr_wait_how_e | waithow |
int apr_exit_why_e
apr_wait_how_e apr_pool_t * | p |
| void(* | maintenance )(int reason, void *, int status) |
| void(*) void | data ) |
| void(*) void apr_file_t | write_fd ) |
| int | reason |
| int int | status |
| int | sig |
| apr_proc_t * | proc |
| apr_proc_t apr_kill_conditions_e | how |
APR Thread and Process Library.
Definition in file apr_thread_proc.h.