842ae4bd224140319ae7feec1872b93dfd491143fielding/* Licensed to the Apache Software Foundation (ASF) under one or more
842ae4bd224140319ae7feec1872b93dfd491143fielding * contributor license agreements. See the NOTICE file distributed with
842ae4bd224140319ae7feec1872b93dfd491143fielding * this work for additional information regarding copyright ownership.
842ae4bd224140319ae7feec1872b93dfd491143fielding * The ASF licenses this file to You under the Apache License, Version 2.0
842ae4bd224140319ae7feec1872b93dfd491143fielding * (the "License"); you may not use this file except in compliance with
842ae4bd224140319ae7feec1872b93dfd491143fielding * the License. You may obtain a copy of the License at
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding *
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * http://www.apache.org/licenses/LICENSE-2.0
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding *
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * Unless required by applicable law or agreed to in writing, software
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * distributed under the License is distributed on an "AS IS" BASIS,
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * See the License for the specific language governing permissions and
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * limitations under the License.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding */
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh/**
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * @file unix/os.h
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * @brief This file in included in all Apache source code. It contains definitions
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * of facilities available on _this_ operating system (HAVE_* macros),
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * and prototypes of OS specific functions defined in os.c or os-inline.c
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh *
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * @defgroup APACHE_OS_UNIX unix
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * @ingroup APACHE_OS
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * @{
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh */
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#ifndef APACHE_OS_H
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#define APACHE_OS_H
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
a7ed9c525f9460187f327cea953bf90ecf1bdc51gstein#include "apr.h"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#include "ap_config.h"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#ifndef PLATFORM
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#define PLATFORM "Unix"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#endif
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
56fa845f76f99bb556a9a2fc8588f279adcad5e3jorton/* On platforms where AP_NEED_SET_MUTEX_PERMS is defined, modules
56fa845f76f99bb556a9a2fc8588f279adcad5e3jorton * should call unixd_set_*_mutex_perms on mutexes created in the
56fa845f76f99bb556a9a2fc8588f279adcad5e3jorton * parent process. */
9ad1eb50ca1254f303fc87a41df9ae57fdf3bbb8wrowe#define AP_NEED_SET_MUTEX_PERMS 1
56fa845f76f99bb556a9a2fc8588f279adcad5e3jorton
71debfa33ffaf708f3803495c4caf6b00b78ac86trawick/* Define command-line rewriting for this platform, handled by core.
71debfa33ffaf708f3803495c4caf6b00b78ac86trawick */
71debfa33ffaf708f3803495c4caf6b00b78ac86trawick#define AP_PLATFORM_REWRITE_ARGS_HOOK ap_mpm_rewrite_args
71debfa33ffaf708f3803495c4caf6b00b78ac86trawick
0c9e94228dcb402c6a02c16b3641a0b80197ca17jfclere#ifdef _OSD_POSIX
0c9e94228dcb402c6a02c16b3641a0b80197ca17jfclerepid_t os_fork(const char *user);
0c9e94228dcb402c6a02c16b3641a0b80197ca17jfclere#endif
0c9e94228dcb402c6a02c16b3641a0b80197ca17jfclere
11e076839c8d5a82d55e710194d0daac51390dbdsf#endif /* !APACHE_OS_H */
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh/** @} */