1139749Simp/* Licensed to the Apache Software Foundation (ASF) under one or more
2156000Smjacob * contributor license agreements.  See the NOTICE file distributed with
3101704Smjacob * this work for additional information regarding copyright ownership.
4101704Smjacob * The ASF licenses this file to You under the Apache License, Version 2.0
5101704Smjacob * (the "License"); you may not use this file except in compliance with
6101704Smjacob * the License.  You may obtain a copy of the License at
7101704Smjacob *
8101704Smjacob *     http://www.apache.org/licenses/LICENSE-2.0
9101704Smjacob *
10101704Smjacob * Unless required by applicable law or agreed to in writing, software
11101704Smjacob * distributed under the License is distributed on an "AS IS" BASIS,
12101704Smjacob * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13101704Smjacob * See the License for the specific language governing permissions and
14101704Smjacob * limitations under the License.
15101704Smjacob */
16101704Smjacob
17101704Smjacob#ifndef MISC_H
18101704Smjacob#define MISC_H
19101704Smjacob
20101704Smjacob#include "apr.h"
21101704Smjacob#include "apr_portable.h"
22101704Smjacob#include "apr_private.h"
23101704Smjacob#include "apr_general.h"
24101704Smjacob#include "apr_pools.h"
25101704Smjacob#include "apr_getopt.h"
26101704Smjacob#include "apr_thread_proc.h"
27156000Smjacob#include "apr_file_io.h"
28156000Smjacob#include "apr_errno.h"
29156000Smjacob#include "apr_getopt.h"
30156000Smjacob
31156104Smjacob#if APR_HAVE_STDIO_H
32156000Smjacob#include <stdio.h>
33156000Smjacob#endif
34156000Smjacob#if APR_HAVE_SIGNAL_H
35156000Smjacob#include <signal.h>
36156000Smjacob#endif
37156000Smjacob#if APR_HAVE_PTHREAD_H
38156000Smjacob#include <pthread.h>
39156000Smjacob#endif
40156000Smjacob
41156000Smjacob#if APR_HAVE_STDLIB_H
42156000Smjacob#include <stdlib.h>
43156000Smjacob#endif
44156000Smjacob#if APR_HAVE_STRING_H
45156104Smjacob#include <string.h>
46156000Smjacob#endif
47156000Smjacob
48156000Smjacob#ifdef BEOS
49156000Smjacob#include <kernel/OS.h>
50156000Smjacob#endif
51156000Smjacob
52156000Smjacobstruct apr_other_child_rec_t {
53156000Smjacob    apr_pool_t *p;
54156000Smjacob    struct apr_other_child_rec_t *next;
55156000Smjacob    apr_proc_t *proc;
56156000Smjacob    void (*maintenance) (int, void *, int);
57147883Sscottl    void *data;
58156000Smjacob    apr_os_file_t write_fd;
59156000Smjacob};
60159052Smjacob
61159052Smjacob#if defined(WIN32) || defined(NETWARE)
62159052Smjacob#define WSAHighByte 2
63159052Smjacob#define WSALowByte 0
64101704Smjacob#endif
65156000Smjacob
66147883Sscottl#endif  /* ! MISC_H */
67147883Sscottl
68147883Sscottl