Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
apr_arch_inherit.h File Reference
#include "apr_inherit.h"
Include dependency graph for apr_arch_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

#define APR_IMPLEMENT_INHERIT_SET (   name,
  flag,
  pool,
  cleanup 
)
Value:
APR_DECLARE(apr_status_t) apr_##name##_inherit_set(apr_##name##_t *the##name) \
{ \
/* if (!SetHandleInformation(the##name->filehand, \
* HANDLE_FLAG_INHERIT, \
* HANDLE_FLAG_INHERIT)) \
* return apr_get_os_error(); \
*/ return APR_SUCCESS; \
}
#define APR_DECLARE(x)
Definition: macros.h:6
int apr_status_t
Definition: apr_errno.h:44
#define APR_IMPLEMENT_INHERIT_UNSET (   name,
  flag,
  pool,
  cleanup 
)
Value:
APR_DECLARE(apr_status_t) apr_##name##_inherit_unset(apr_##name##_t *the##name)\
{ \
/* if (!SetHandleInformation(the##name->filehand, \
* HANDLE_FLAG_INHERIT, 0)) \
* return apr_get_os_error(); \
*/ return APR_SUCCESS; \
}
#define APR_DECLARE(x)
Definition: macros.h:6
int apr_status_t
Definition: apr_errno.h:44
#define APR_INHERIT   (1 << 24) /* Must not conflict with other bits */