00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
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
00067