1251875Speter/* Licensed to the Apache Software Foundation (ASF) under one or more
2251875Speter * contributor license agreements.  See the NOTICE file distributed with
3251875Speter * this work for additional information regarding copyright ownership.
4251875Speter * The ASF licenses this file to You under the Apache License, Version 2.0
5251875Speter * (the "License"); you may not use this file except in compliance with
6251875Speter * the License.  You may obtain a copy of the License at
7251875Speter *
8251875Speter *     http://www.apache.org/licenses/LICENSE-2.0
9251875Speter *
10251875Speter * Unless required by applicable law or agreed to in writing, software
11251875Speter * distributed under the License is distributed on an "AS IS" BASIS,
12251875Speter * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13251875Speter * See the License for the specific language governing permissions and
14251875Speter * limitations under the License.
15251875Speter */
16251875Speter
17251875Speter#ifndef MISC_H
18251875Speter#define MISC_H
19251875Speter
20251875Speter#include "apr.h"
21251875Speter#include "apr_portable.h"
22251875Speter#include "apr_private.h"
23251875Speter#include "apr_general.h"
24251875Speter#include "apr_pools.h"
25251875Speter#include "apr_getopt.h"
26251875Speter#include "apr_thread_proc.h"
27251875Speter#include "apr_file_io.h"
28251875Speter#include "apr_errno.h"
29251875Speter#include "apr_getopt.h"
30251875Speter
31251875Speter#if APR_HAVE_STDIO_H
32251875Speter#include <stdio.h>
33251875Speter#endif
34251875Speter#if APR_HAVE_SIGNAL_H
35251875Speter#include <signal.h>
36251875Speter#endif
37251875Speter#if APR_HAVE_PTHREAD_H
38251875Speter#include <pthread.h>
39251875Speter#endif
40251875Speter
41251875Speter#if APR_HAVE_STDLIB_H
42251875Speter#include <stdlib.h>
43251875Speter#endif
44251875Speter#if APR_HAVE_STRING_H
45251875Speter#include <string.h>
46251875Speter#endif
47251875Speter
48251875Speter#ifdef BEOS
49251875Speter#include <kernel/OS.h>
50251875Speter#endif
51251875Speter
52251875Speterstruct apr_other_child_rec_t {
53251875Speter    apr_pool_t *p;
54251875Speter    struct apr_other_child_rec_t *next;
55251875Speter    apr_proc_t *proc;
56251875Speter    void (*maintenance) (int, void *, int);
57251875Speter    void *data;
58251875Speter    apr_os_file_t write_fd;
59251875Speter};
60251875Speter
61251875Speter#if defined(WIN32) || defined(NETWARE)
62251875Speter#define WSAHighByte 2
63251875Speter#define WSALowByte 0
64251875Speter#endif
65251875Speter
66251875Speter#endif  /* ! MISC_H */
67251875Speter
68