Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/apache2/modperl_apr_compat.h
$ cat -n /usr/include/apache2/modperl_apr_compat.h 1 /* Licensed to the Apache Software Foundation (ASF) under one or more 2 * contributor license agreements. See the NOTICE file distributed with 3 * this work for additional information regarding copyright ownership. 4 * The ASF licenses this file to You under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 6 * the License. You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #ifndef MODPERL_APR_COMPAT_H 18 #define MODPERL_APR_COMPAT_H 19 20 /* back compat adjustements for older libapr versions */ 21 22 /* BACK_COMPAT_MARKER: make back compat issues easy to find :) */ 23 24 /* use the following format: 25 * #if ! AP_MODULE_MAGIC_AT_LEAST(20020903,4) 26 * [compat code] 27 * #endif 28 * and don't forget to insert comments explaining exactly 29 * which httpd release allows us to remove the compat code 30 */ 31 32 /* apr_filetype_e entries rename */ 33 34 #ifndef APR_FILETYPE_NOFILE 35 #define APR_FILETYPE_NOFILE APR_NOFILE 36 #endif 37 #ifndef APR_FILETYPE_REG 38 #define APR_FILETYPE_REG APR_REG 39 #endif 40 #ifndef APR_FILETYPE_DIR 41 #define APR_FILETYPE_DIR APR_DIR 42 #endif 43 #ifndef APR_FILETYPE_CHR 44 #define APR_FILETYPE_CHR APR_CHR 45 #endif 46 #ifndef APR_FILETYPE_BLK 47 #define APR_FILETYPE_BLK APR_BLK 48 #endif 49 #ifndef APR_FILETYPE_PIPE 50 #define APR_FILETYPE_PIPE APR_PIPE 51 #endif 52 #ifndef APR_FILETYPE_LNK 53 #define APR_FILETYPE_LNK APR_LNK 54 #endif 55 #ifndef APR_FILETYPE_SOCK 56 #define APR_FILETYPE_SOCK APR_SOCK 57 #endif 58 #ifndef APR_FILETYPE_UNKFILE 59 #define APR_FILETYPE_UNKFILE APR_UNKFILE 60 #endif 61 62 63 /* apr file permissions group rename (has no enum) */ 64 65 #if defined(APR_USETID) && !defined(APR_FPROT_USETID) 66 #define APR_FPROT_USETID APR_USETID 67 #endif 68 #ifndef APR_FPROT_UREAD 69 #define APR_FPROT_UREAD APR_UREAD 70 #endif 71 #ifndef APR_FPROT_UWRITE 72 #define APR_FPROT_UWRITE APR_UWRITE 73 #endif 74 #ifndef APR_FPROT_UEXECUTE 75 #define APR_FPROT_UEXECUTE APR_UEXECUTE 76 #endif 77 #if defined(APR_GSETID) && !defined(APR_FPROT_GSETID) 78 #define APR_FPROT_GSETID APR_GSETID 79 #endif 80 #ifndef APR_FPROT_GREAD 81 #define APR_FPROT_GREAD APR_GREAD 82 #endif 83 #ifndef APR_FPROT_GWRITE 84 #define APR_FPROT_GWRITE APR_GWRITE 85 #endif 86 #ifndef APR_FPROT_GEXECUTE 87 #define APR_FPROT_GEXECUTE APR_GEXECUTE 88 #endif 89 #if defined(APR_WSTICKY) && !defined(APR_FPROT_WSTICKY) 90 #define APR_FPROT_WSTICKY APR_WSTICKY 91 #endif 92 #ifndef APR_FPROT_WREAD 93 #define APR_FPROT_WREAD APR_WREAD 94 #endif 95 #ifndef APR_FPROT_WWRITE 96 #define APR_FPROT_WWRITE APR_WWRITE 97 #endif 98 #ifndef APR_FPROT_WEXECUTE 99 #define APR_FPROT_WEXECUTE APR_WEXECUTE 100 #endif 101 #ifndef APR_FPROT_OS_DEFAULT 102 #define APR_FPROT_OS_DEFAULT APR_OS_DEFAULT 103 #endif 104 /* APR_FPROT_FILE_SOURCE_PERMS seems to have only an internal apr 105 * use */ 106 107 /* apr_file_open flag group rename (has no enum) */ 108 109 #ifndef APR_FOPEN_READ 110 #define APR_FOPEN_READ APR_READ 111 #endif 112 #ifndef APR_FOPEN_WRITE 113 #define APR_FOPEN_WRITE APR_WRITE 114 #endif 115 #ifndef APR_FOPEN_CREATE 116 #define APR_FOPEN_CREATE APR_CREATE 117 #endif 118 #ifndef APR_FOPEN_APPEND 119 #define APR_FOPEN_APPEND APR_APPEND 120 #endif 121 #ifndef APR_FOPEN_TRUNCATE 122 #define APR_FOPEN_TRUNCATE APR_TRUNCATE 123 #endif 124 #ifndef APR_FOPEN_BINARY 125 #define APR_FOPEN_BINARY APR_BINARY 126 #endif 127 #ifndef APR_FOPEN_EXCL 128 #define APR_FOPEN_EXCL APR_EXCL 129 #endif 130 #ifndef APR_FOPEN_BUFFERED 131 #define APR_FOPEN_BUFFERED APR_BUFFERED 132 #endif 133 #ifndef APR_FOPEN_DELONCLOSE 134 #define APR_FOPEN_DELONCLOSE APR_DELONCLOSE 135 #endif 136 #ifndef APR_FOPEN_XTHREAD 137 #define APR_FOPEN_XTHREAD APR_XTHREAD 138 #endif 139 #ifndef APR_FOPEN_SHARELOCK 140 #define APR_FOPEN_SHARELOCK APR_SHARELOCK 141 #endif 142 #ifndef APR_FOPEN_NOCLEANUP 143 #define APR_FOPEN_NOCLEANUP APR_FILE_NOCLEANUP 144 #endif 145 #ifndef APR_FOPEN_SENDFILE_ENABLED 146 #define APR_FOPEN_SENDFILE_ENABLED APR_SENDFILE_ENABLED 147 #endif 148 #ifndef APR_FOPEN_LARGEFILE 149 /* added in 2.0.50 */ 150 #ifdef APR_LARGEFILE 151 #define APR_FOPEN_LARGEFILE APR_LARGEFILE 152 #endif 153 #endif 154 155 #endif /* MODPERL_APR_COMPAT_H */ 156 157 /* 158 * Local Variables: 159 * c-basic-offset: 4 160 * indent-tabs-mode: nil 161 * End: 162 */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™