Apache HTTPD
Macros
apr_arch_inherit.h File Reference
#include "apr_inherit.h"

Go to the source code of this file.

Macros

#define APR_INHERIT   (1 << 24) /* Must not conflict with other bits */
 
#define APR_IMPLEMENT_INHERIT_SET(name, flag, pool, cleanup)
 
#define APR_IMPLEMENT_INHERIT_UNSET(name, flag, pool, cleanup)
 

Macro Definition Documentation

◆ APR_IMPLEMENT_INHERIT_SET

#define APR_IMPLEMENT_INHERIT_SET (   name,
  flag,
  pool,
  cleanup 
)
Value:
{ \
int rv; \
ULONG state; \
if (((rv = DosQueryFHState(attr->parent_err->filedes, &state)) \
!= 0) || \
state & ~OPEN_FLAGS_NOINHERIT)) != 0)) \
return APR_FROM_OS_ERROR(rv); \
return APR_SUCCESS; \
}
const void apr_status_t(*) apr_status_t(* APR_DECLARE)(void) apr_pool_pre_cleanup_register(apr_pool_t *p
Definition apr_pools.h:646
apr_size_t size
#define APR_FROM_OS_ERROR(e)
Definition apr_errno.h:1214
#define APR_SUCCESS
Definition apr_errno.h:225
int apr_status_t
Definition apr_errno.h:44
const char const char *const const char *const apr_procattr_t * attr
char * name
apr_file_t * parent_err

Definition at line 24 of file apr_arch_inherit.h.

◆ APR_IMPLEMENT_INHERIT_UNSET

#define APR_IMPLEMENT_INHERIT_UNSET (   name,
  flag,
  pool,
  cleanup 
)
Value:
{ \
int rv; \
ULONG state; \
if (((rv = DosQueryFHState(attr->parent_err->filedes, &state)) \
!= 0) || \
state | OPEN_FLAGS_NOINHERIT)) != 0)) \
return APR_FROM_OS_ERROR(rv); \
return APR_SUCCESS; \
}

Definition at line 37 of file apr_arch_inherit.h.

◆ APR_INHERIT

#define APR_INHERIT   (1 << 24) /* Must not conflict with other bits */

Definition at line 22 of file apr_arch_inherit.h.