GME  13
apr_arch_misc.h
Go to the documentation of this file.
00001 /* Licensed to the Apache Software Foundation (ASF) under one or more
00002  * contributor license agreements.  See the NOTICE file distributed with
00003  * this work for additional information regarding copyright ownership.
00004  * The ASF licenses this file to You under the Apache License, Version 2.0
00005  * (the "License"); you may not use this file except in compliance with
00006  * the License.  You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 #ifndef MISC_H
00018 #define MISC_H
00019 
00020 #include "apr.h"
00021 #include "apr_portable.h"
00022 #include "apr_private.h"
00023 #include "apr_general.h"
00024 #include "apr_pools.h"
00025 #include "apr_getopt.h"
00026 #include "apr_thread_proc.h"
00027 #include "apr_file_io.h"
00028 #include "apr_errno.h"
00029 #include "apr_getopt.h"
00030 
00031 #if APR_HAVE_STDIO_H
00032 #include <stdio.h>
00033 #endif
00034 #if APR_HAVE_SIGNAL_H
00035 #include <signal.h>
00036 #endif
00037 #if APR_HAVE_PTHREAD_H
00038 #include <pthread.h>
00039 #endif
00040 
00041 #if APR_HAVE_STDLIB_H
00042 #include <stdlib.h>
00043 #endif
00044 #if APR_HAVE_STRING_H
00045 #include <string.h>
00046 #endif
00047 
00048 #ifdef BEOS
00049 #include <kernel/OS.h>
00050 #endif
00051 
00052 struct apr_other_child_rec_t {
00053     apr_pool_t *p;
00054     struct apr_other_child_rec_t *next;
00055     apr_proc_t *proc;
00056     void (*maintenance) (int, void *, int);
00057     void *data;
00058     apr_os_file_t write_fd;
00059 };
00060 
00061 #if defined(WIN32) || defined(NETWARE)
00062 #define WSAHighByte 2
00063 #define WSALowByte 0
00064 #endif
00065 
00066 #endif  /* ! MISC_H */
00067