ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:24.02 GB of 70.42 GB (34.11%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ usr/ share/ doc/ libapr1-dev/ html/ - drwxr-xr-x

Directory:
Viewing file:     apr_8h_source.html (66.88 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Apache Portable Runtime: apr.h Source File
Apache Portable Runtime
apr.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 
00018 #ifndef APR_H
00019 #define APR_H
00020 
00021 /* GENERATED FILE WARNING!  DO NOT EDIT apr.h
00022  *
00023  * You must modify apr.h.in instead.
00024  *
00025  * And please, make an effort to stub apr.hw and apr.hnw in the process.
00026  */
00027 
00028 /**
00029  * @file apr.h
00030  * @brief APR Platform Definitions
00031  * @remark This is a generated header generated from include/apr.h.in by
00032  * ./configure, or copied from include/apr.hw or include/apr.hnw 
00033  * for Win32 or Netware by those build environments, respectively.
00034  */
00035 
00036 #ifndef _GNU_SOURCE
00037 # define _GNU_SOURCE 1
00038 #endif
00039 
00040 /**
00041  * @defgroup APR Apache Portability Runtime library
00042  * @{
00043  */
00044 /**
00045  * @defgroup apr_platform Platform Definitions
00046  * @{
00047  * @warning
00048  * <strong><em>The actual values of macros and typedefs on this page<br>
00049  * are platform specific and should NOT be relied upon!</em></strong>
00050  */
00051 
00052 /* So that we can use inline on some critical functions, and use
00053  * GNUC attributes (such as to get -Wall warnings for printf-like
00054  * functions).  Only do this in gcc 2.7 or later ... it may work
00055  * on earlier stuff, but why chance it.
00056  *
00057  * We've since discovered that the gcc shipped with NeXT systems
00058  * as "cc" is completely broken.  It claims to be __GNUC__ and so
00059  * on, but it doesn't implement half of the things that __GNUC__
00060  * means.  In particular it's missing inline and the __attribute__
00061  * stuff.  So we hack around it.  PR#1613. -djg
00062  */
00063 #if !defined(__GNUC__) || __GNUC__ < 2 || \
00064     (__GNUC__ == 2 && __GNUC_MINOR__ < 7) ||\
00065     defined(NEXT)
00066 #ifndef __attribute__
00067 #define __attribute__(__x)
00068 #endif
00069 #define APR_INLINE
00070 #define APR_HAS_INLINE           0
00071 #else
00072 #define APR_INLINE __inline__
00073 #define APR_HAS_INLINE           1
00074 #endif
00075 
00076 #define APR_HAVE_ARPA_INET_H     1
00077 #define APR_HAVE_CONIO_H         0
00078 #define APR_HAVE_CRYPT_H         1
00079 #define APR_HAVE_CTYPE_H         1
00080 #define APR_HAVE_DIRENT_H        1
00081 #define APR_HAVE_ERRNO_H         1
00082 #define APR_HAVE_FCNTL_H         1
00083 #define APR_HAVE_IO_H            0
00084 #define APR_HAVE_LIMITS_H        1
00085 #define APR_HAVE_NETDB_H         1
00086 #define APR_HAVE_NETINET_IN_H    1
00087 #define APR_HAVE_NETINET_SCTP_H  0
00088 #define APR_HAVE_NETINET_SCTP_UIO_H 0
00089 #define APR_HAVE_NETINET_TCP_H   1
00090 #define APR_HAVE_PROCESS_H       0
00091 #define APR_HAVE_PTHREAD_H       1
00092 #define APR_HAVE_SEMAPHORE_H     1
00093 #define APR_HAVE_SIGNAL_H        1
00094 #define APR_HAVE_STDARG_H        1
00095 #define APR_HAVE_STDINT_H        1
00096 #define APR_HAVE_STDIO_H         1
00097 #define APR_HAVE_STDLIB_H        1
00098 #define APR_HAVE_STRING_H        1
00099 #define APR_HAVE_STRINGS_H       1
00100 #define APR_HAVE_SYS_IOCTL_H     1
00101 #define APR_HAVE_SYS_SENDFILE_H  1
00102 #define APR_HAVE_SYS_SIGNAL_H    1
00103 #define APR_HAVE_SYS_SOCKET_H    1
00104 #define APR_HAVE_SYS_SOCKIO_H    0
00105 #define APR_HAVE_SYS_SYSLIMITS_H 0
00106 #define APR_HAVE_SYS_TIME_H      1
00107 #define APR_HAVE_SYS_TYPES_H     1
00108 #define APR_HAVE_SYS_UIO_H       1
00109 #define APR_HAVE_SYS_UN_H        1
00110 #define APR_HAVE_SYS_WAIT_H      1
00111 #define APR_HAVE_TIME_H          1
00112 #define APR_HAVE_UNISTD_H        1
00113 #define APR_HAVE_WINDOWS_H       0
00114 #define APR_HAVE_WINSOCK2_H      0
00115 
00116 /** @} */
00117 /** @} */
00118 
00119 /* We don't include our conditional headers within the doxyblocks 
00120  * or the extern "C" namespace 
00121  */
00122 
00123 #if APR_HAVE_WINDOWS_H
00124 /* If windows.h was already included, our preferences don't matter.
00125  * If not, include a restricted set of windows headers to our tastes.
00126  */
00127 #ifndef _WINDOWS_
00128 
00129 #ifndef WIN32_LEAN_AND_MEAN
00130 #define WIN32_LEAN_AND_MEAN
00131 #endif
00132 
00133 #ifndef _WIN32_WINNT
00134 /* Restrict the server to a subset of Windows XP header files by default
00135  */
00136 #define _WIN32_WINNT 0x0501
00137 #endif
00138 
00139 #ifndef NOUSER
00140 #define NOUSER
00141 #endif
00142 #ifndef NOMCX
00143 #define NOMCX
00144 #endif
00145 #ifndef NOIME
00146 #define NOIME
00147 #endif
00148 
00149 #include <windows.h>
00150 /* 
00151  * Add a _very_few_ declarations missing from the restricted set of headers
00152  * (If this list becomes extensive, re-enable the required headers above!)
00153  * winsock headers were excluded by WIN32_LEAN_AND_MEAN, so include them now
00154  */
00155 #define SW_HIDE             0
00156 #ifndef _WIN32_WCE
00157 #include <winsock2.h>
00158 #include <ws2tcpip.h>
00159 #include <mswsock.h>
00160 #else
00161 #include <winsock.h>
00162 #endif
00163 
00164 #endif /* ndef _WINDOWS_ */
00165 #endif /* APR_HAVE_WINDOWS_H */
00166 
00167 #if APR_HAVE_SYS_TYPES_H
00168 #include <sys/types.h>
00169 #endif
00170 
00171 #if APR_HAVE_SYS_SOCKET_H
00172 #include <sys/socket.h>
00173 #endif
00174 
00175 #if defined(__cplusplus) && !defined(__STDC_CONSTANT_MACROS)
00176 /* C99 7.18.4 requires that stdint.h only exposes INT64_C 
00177  * and UINT64_C for C++ implementations if this is defined: */
00178 #define __STDC_CONSTANT_MACROS
00179 #endif
00180 
00181 #if APR_HAVE_STDINT_H
00182 #include <stdint.h>
00183 #endif
00184 
00185 #if APR_HAVE_SYS_WAIT_H
00186 #include <sys/wait.h>
00187 #endif
00188 
00189 #ifdef OS2
00190 #define INCL_DOS
00191 #define INCL_DOSERRORS
00192 #include <os2.h>
00193 #endif
00194 
00195 /* header files for PATH_MAX, _POSIX_PATH_MAX */
00196 #if APR_HAVE_LIMITS_H
00197 #include <limits.h>
00198 #else
00199 #if APR_HAVE_SYS_SYSLIMITS_H
00200 #include <sys/syslimits.h>
00201 #endif
00202 #endif
00203 
00204 
00205 #ifdef __cplusplus
00206 extern "C" {
00207 #endif
00208 
00209 /**
00210  * @addtogroup apr_platform
00211  * @ingroup APR 
00212  * @{
00213  */
00214 
00215 #define APR_HAVE_SHMEM_MMAP_TMP     1
00216 #define APR_HAVE_SHMEM_MMAP_SHM     1
00217 #define APR_HAVE_SHMEM_MMAP_ZERO    1
00218 #define APR_HAVE_SHMEM_SHMGET_ANON  1
00219 #define APR_HAVE_SHMEM_SHMGET       1
00220 #define APR_HAVE_SHMEM_MMAP_ANON    1
00221 #define APR_HAVE_SHMEM_BEOS         0
00222 
00223 #define APR_USE_SHMEM_MMAP_TMP     0
00224 #define APR_USE_SHMEM_MMAP_SHM     0
00225 #define APR_USE_SHMEM_MMAP_ZERO    0
00226 #define APR_USE_SHMEM_SHMGET_ANON  0
00227 #define APR_USE_SHMEM_SHMGET       1
00228 #define APR_USE_SHMEM_MMAP_ANON    1
00229 #define APR_USE_SHMEM_BEOS         0
00230 
00231 #define APR_USE_FLOCK_SERIALIZE           0 
00232 #define APR_USE_SYSVSEM_SERIALIZE         1
00233 #define APR_USE_POSIXSEM_SERIALIZE        0
00234 #define APR_USE_FCNTL_SERIALIZE           0
00235 #define APR_USE_PROC_PTHREAD_SERIALIZE    0 
00236 #define APR_USE_PTHREAD_SERIALIZE         1 
00237 
00238 #define APR_HAS_FLOCK_SERIALIZE           1
00239 #define APR_HAS_SYSVSEM_SERIALIZE         1
00240 #define APR_HAS_POSIXSEM_SERIALIZE        1
00241 #define APR_HAS_FCNTL_SERIALIZE           1
00242 #define APR_HAS_PROC_PTHREAD_SERIALIZE    1
00243 
00244 #define APR_PROCESS_LOCK_IS_GLOBAL        0
00245 
00246 #define APR_HAVE_CORKABLE_TCP   1 
00247 #define APR_HAVE_GETRLIMIT      1
00248 #define APR_HAVE_IN_ADDR        1
00249 #define APR_HAVE_INET_ADDR      1
00250 #define APR_HAVE_INET_NETWORK   1
00251 #define APR_HAVE_IPV6           1
00252 #define APR_HAVE_MEMMOVE        1
00253 #define APR_HAVE_SETRLIMIT      1
00254 #define APR_HAVE_SIGACTION      1
00255 #define APR_HAVE_SIGSUSPEND     1
00256 #define APR_HAVE_SIGWAIT        1
00257 #define APR_HAVE_SA_STORAGE     1
00258 #define APR_HAVE_STRCASECMP     1
00259 #define APR_HAVE_STRDUP         1
00260 #define APR_HAVE_STRICMP        0
00261 #define APR_HAVE_STRNCASECMP    1
00262 #define APR_HAVE_STRNICMP       0
00263 #define APR_HAVE_STRSTR         1
00264 #define APR_HAVE_MEMCHR         1
00265 #define APR_HAVE_STRUCT_RLIMIT  1
00266 #define APR_HAVE_UNION_SEMUN    0
00267 #define APR_HAVE_SCTP           0
00268 #define APR_HAVE_IOVEC          1
00269 
00270 /*  APR Feature Macros */
00271 #define APR_HAS_SHARED_MEMORY     1
00272 #define APR_HAS_THREADS           1
00273 #define APR_HAS_SENDFILE          1
00274 #define APR_HAS_MMAP              1
00275 #define APR_HAS_FORK              1
00276 #define APR_HAS_RANDOM            1
00277 #define APR_HAS_OTHER_CHILD       1
00278 #define APR_HAS_DSO               1
00279 #define APR_HAS_SO_ACCEPTFILTER   0
00280 #define APR_HAS_UNICODE_FS        0
00281 #define APR_HAS_PROC_INVOKED      0
00282 #define APR_HAS_USER              1
00283 #define APR_HAS_LARGE_FILES       1
00284 #define APR_HAS_XTHREAD_FILES     0
00285 #define APR_HAS_OS_UUID           1
00286 
00287 #define APR_PROCATTR_USER_SET_REQUIRES_PASSWORD 0
00288 
00289 /* APR sets APR_FILES_AS_SOCKETS to 1 on systems where it is possible
00290  * to poll on files/pipes.
00291  */
00292 #define APR_FILES_AS_SOCKETS      1
00293 
00294 /* This macro indicates whether or not EBCDIC is the native character set.
00295  */
00296 #define APR_CHARSET_EBCDIC        0
00297 
00298 /* If we have a TCP implementation that can be "corked", what flag
00299  * do we use?
00300  */
00301 #define APR_TCP_NOPUSH_FLAG       TCP_CORK
00302 
00303 /* Is the TCP_NODELAY socket option inherited from listening sockets?
00304 */
00305 #define APR_TCP_NODELAY_INHERITED 1
00306 
00307 /* Is the O_NONBLOCK flag inherited from listening sockets?
00308 */
00309 #define APR_O_NONBLOCK_INHERITED 0
00310 
00311 /* Typedefs that APR needs. */
00312 
00313 typedef  unsigned char           apr_byte_t;
00314 
00315 typedef  short           apr_int16_t;
00316 typedef  unsigned short  apr_uint16_t;
00317 
00318 typedef  int             apr_int32_t;
00319 typedef  unsigned int    apr_uint32_t;
00320 
00321 #define APR_SIZEOF_VOIDP 4
00322 
00323 /*
00324  * Darwin 10's default compiler (gcc42) builds for both 64 and
00325  * 32 bit architectures unless specifically told not to.
00326  * In those cases, we need to override types depending on how
00327  * we're being built at compile time.
00328  * NOTE: This is an ugly work-around for Darwin's
00329  * concept of universal binaries, a single package
00330  * (executable, lib, etc...) which contains both 32
00331  * and 64 bit versions. The issue is that if APR is
00332  * built universally, if something else is compiled
00333  * against it, some bit sizes will depend on whether
00334  * it is 32 or 64 bit. This is determined by the __LP64__
00335  * flag. Since we need to support both, we have to
00336  * handle OS X unqiuely.
00337  */
00338 #ifdef DARWIN_10
00339 #undef APR_SIZEOF_VOIDP
00340 #undef INT64_C
00341 #undef UINT64_C
00342 #ifdef __LP64__
00343  typedef  long            apr_int64_t;
00344  typedef  unsigned long   apr_uint64_t;
00345  #define APR_SIZEOF_VOIDP     8
00346  #define INT64_C(v)   (v ## L)
00347  #define UINT64_C(v)  (v ## UL)
00348 #else
00349  typedef  long long            apr_int64_t;
00350  typedef  unsigned long long   apr_uint64_t;
00351  #define APR_SIZEOF_VOIDP     4
00352  #define INT64_C(v)   (v ## LL)
00353  #define UINT64_C(v)  (v ## ULL)
00354 #endif
00355 #else
00356  typedef  long long            apr_int64_t;
00357  typedef  unsigned long long   apr_uint64_t;
00358 #endif
00359 
00360 typedef  size_t          apr_size_t;
00361 typedef  ssize_t         apr_ssize_t;
00362 typedef  off64_t           apr_off_t;
00363 typedef  socklen_t       apr_socklen_t;
00364 typedef  unsigned long           apr_ino_t;
00365 
00366 #if APR_SIZEOF_VOIDP == 8
00367 typedef  apr_uint64_t            apr_uintptr_t;
00368 #else
00369 typedef  apr_uint32_t            apr_uintptr_t;
00370 #endif
00371 
00372 /* Are we big endian? */
00373 #define APR_IS_BIGENDIAN        0
00374 
00375 /* Mechanisms to properly type numeric literals */
00376 #define APR_INT64_C(val) INT64_C(val)
00377 #define APR_UINT64_C(val) UINT64_C(val)
00378 
00379 #ifdef INT16_MIN
00380 #define APR_INT16_MIN   INT16_MIN
00381 #else
00382 #define APR_INT16_MIN   (-0x7fff - 1)
00383 #endif
00384 
00385 #ifdef INT16_MAX
00386 #define APR_INT16_MAX  INT16_MAX
00387 #else
00388 #define APR_INT16_MAX   (0x7fff)
00389 #endif
00390 
00391 #ifdef UINT16_MAX
00392 #define APR_UINT16_MAX  UINT16_MAX
00393 #else
00394 #define APR_UINT16_MAX  (0xffff)
00395 #endif
00396 
00397 #ifdef INT32_MIN
00398 #define APR_INT32_MIN   INT32_MIN
00399 #else
00400 #define APR_INT32_MIN   (-0x7fffffff - 1)
00401 #endif
00402 
00403 #ifdef INT32_MAX
00404 #define APR_INT32_MAX  INT32_MAX
00405 #else
00406 #define APR_INT32_MAX  0x7fffffff
00407 #endif
00408 
00409 #ifdef UINT32_MAX
00410 #define APR_UINT32_MAX  UINT32_MAX
00411 #else
00412 #define APR_UINT32_MAX  (0xffffffffU)
00413 #endif
00414 
00415 #ifdef INT64_MIN
00416 #define APR_INT64_MIN   INT64_MIN
00417 #else
00418 #define APR_INT64_MIN   (APR_INT64_C(-0x7fffffffffffffff) - 1)
00419 #endif
00420 
00421 #ifdef INT64_MAX
00422 #define APR_INT64_MAX   INT64_MAX
00423 #else
00424 #define APR_INT64_MAX   APR_INT64_C(0x7fffffffffffffff)
00425 #endif
00426 
00427 #ifdef UINT64_MAX
00428 #define APR_UINT64_MAX  UINT64_MAX
00429 #else
00430 #define APR_UINT64_MAX  APR_UINT64_C(0xffffffffffffffff)
00431 #endif
00432 
00433 #define APR_SIZE_MAX    (~((apr_size_t)0))
00434 
00435 
00436 /* Definitions that APR programs need to work properly. */
00437 
00438 /**
00439  * APR public API wrap for C++ compilers.
00440  */
00441 #ifdef __cplusplus
00442 #define APR_BEGIN_DECLS     extern "C" {
00443 #define APR_END_DECLS       }
00444 #else
00445 #define APR_BEGIN_DECLS
00446 #define APR_END_DECLS
00447 #endif
00448 
00449 /** 
00450  * Thread callbacks from APR functions must be declared with APR_THREAD_FUNC, 
00451  * so that they follow the platform's calling convention.
00452  */
00453 /**
00454  * @code
00455  * void* APR_THREAD_FUNC my_thread_entry_fn(apr_thread_t *thd, void *data);
00456  * @endcode
00457  */
00458 #define APR_THREAD_FUNC       
00459 
00460 /**
00461  * The public APR functions are declared with APR_DECLARE(), so they may
00462  * use the most appropriate calling convention.  Public APR functions with 
00463  * variable arguments must use APR_DECLARE_NONSTD().
00464  *
00465  * @remark Both the declaration and implementations must use the same macro.
00466  *
00467  * <PRE>
00468  * APR_DECLARE(rettype) apr_func(args)
00469  * </PRE>
00470  * @see APR_DECLARE_NONSTD @see APR_DECLARE_DATA
00471  * @remark Note that when APR compiles the library itself, it passes the 
00472  * symbol -DAPR_DECLARE_EXPORT to the compiler on some platforms (e.g. Win32) 
00473  * to export public symbols from the dynamic library build.\n
00474  * The user must define the APR_DECLARE_STATIC when compiling to target
00475  * the static APR library on some platforms (e.g. Win32.)  The public symbols 
00476  * are neither exported nor imported when APR_DECLARE_STATIC is defined.\n
00477  * By default, compiling an application and including the APR public
00478  * headers, without defining APR_DECLARE_STATIC, will prepare the code to be
00479  * linked to the dynamic library.
00480  */
00481 #define APR_DECLARE(type)            type 
00482 
00483 /**
00484  * The public APR functions using variable arguments are declared with 
00485  * APR_DECLARE_NONSTD(), as they must follow the C language calling convention.
00486  * @see APR_DECLARE @see APR_DECLARE_DATA
00487  * @remark Both the declaration and implementations must use the same macro.
00488  */
00489 /**
00490  * @code
00491  * APR_DECLARE_NONSTD(rettype) apr_func(args, ...);
00492  * @endcode
00493  */
00494 #define APR_DECLARE_NONSTD(type)     type
00495 
00496 /**
00497  * The public APR variables are declared with AP_MODULE_DECLARE_DATA.
00498  * This assures the appropriate indirection is invoked at compile time.
00499  * @see APR_DECLARE @see APR_DECLARE_NONSTD
00500  * @remark Note that the declaration and implementations use different forms,
00501  * but both must include the macro.
00502  * 
00503  */
00504 /**
00505  * @code
00506  * extern APR_DECLARE_DATA type apr_variable;\n
00507  * APR_DECLARE_DATA type apr_variable = value;
00508  * @endcode
00509  */
00510 #define APR_DECLARE_DATA
00511 
00512 /* Define APR_SSIZE_T_FMT.  
00513  * If ssize_t is an integer we define it to be "d",
00514  * if ssize_t is a long int we define it to be "ld",
00515  * if ssize_t is neither we declare an error here.
00516  * I looked for a better way to define this here, but couldn't find one, so
00517  * to find the logic for this definition search for "ssize_t_fmt" in
00518  * configure.in.
00519  */
00520 
00521 #define APR_SSIZE_T_FMT "d"
00522 
00523 /* And APR_SIZE_T_FMT */
00524 #define APR_SIZE_T_FMT "u"
00525 
00526 /* And APR_OFF_T_FMT */
00527 #define APR_OFF_T_FMT APR_INT64_T_FMT
00528 
00529 /* And APR_PID_T_FMT */
00530 #define APR_PID_T_FMT "d"
00531 
00532 /* And APR_INT64_T_FMT */
00533 #define APR_INT64_T_FMT "lld"
00534 
00535 /* And APR_UINT64_T_FMT */
00536 #define APR_UINT64_T_FMT "llu"
00537 
00538 /* And APR_UINT64_T_HEX_FMT */
00539 #define APR_UINT64_T_HEX_FMT "llx"
00540 
00541 /*
00542  * Ensure we work with universal binaries on Darwin
00543  */
00544 #ifdef DARWIN_10
00545 
00546 #undef APR_HAS_LARGE_FILES
00547 #undef APR_SIZEOF_VOIDP
00548 #undef APR_INT64_T_FMT
00549 #undef APR_UINT64_T_FMT
00550 #undef APR_UINT64_T_HEX_FMT
00551 
00552 #ifdef __LP64__
00553  #define APR_HAS_LARGE_FILES  0
00554  #define APR_SIZEOF_VOIDP     8
00555  #define APR_INT64_T_FMT      "ld"
00556  #define APR_UINT64_T_FMT     "lu"
00557  #define APR_UINT64_T_HEX_FMT "lx"
00558 #else
00559  #define APR_HAS_LARGE_FILES  1
00560  #define APR_SIZEOF_VOIDP     4
00561  #define APR_INT64_T_FMT      "lld"
00562  #define APR_UINT64_T_FMT     "llu"
00563  #define APR_UINT64_T_HEX_FMT "llx"
00564 #endif
00565 
00566 #undef APR_IS_BIGENDIAN
00567 #ifdef __BIG_ENDIAN__
00568  #define APR_IS_BIGENDIAN       1
00569 #else
00570  #define APR_IS_BIGENDIAN       0
00571 #endif
00572 
00573 #undef APR_OFF_T_FMT
00574 #define APR_OFF_T_FMT "lld"
00575 
00576 #endif /* DARWIN_10 */
00577 
00578 /* Does the proc mutex lock threads too */
00579 #define APR_PROC_MUTEX_IS_GLOBAL      0
00580 
00581 /* Local machine definition for console and log output. */
00582 #define APR_EOL_STR              "\n"
00583 
00584 #if APR_HAVE_SYS_WAIT_H
00585 #ifdef WEXITSTATUS
00586 #define apr_wait_t       int
00587 #else
00588 #define apr_wait_t       union wait
00589 #define WEXITSTATUS(status)    (int)((status).w_retcode)
00590 #define WTERMSIG(status)       (int)((status).w_termsig)
00591 #endif /* !WEXITSTATUS */
00592 #elif defined(__MINGW32__)
00593 typedef int apr_wait_t;
00594 #endif /* HAVE_SYS_WAIT_H */
00595 
00596 #if defined(PATH_MAX)
00597 #define APR_PATH_MAX       PATH_MAX
00598 #elif defined(_POSIX_PATH_MAX)
00599 #define APR_PATH_MAX       _POSIX_PATH_MAX
00600 #else
00601 #warning no decision has been made on APR_PATH_MAX for your platform
00602 #define APR_PATH_MAX 4096
00603 #endif
00604 
00605 #define APR_DSOPATH "LD_LIBRARY_PATH"
00606 
00607 /** @} */
00608 
00609 /* Definitions that only Win32 programs need to compile properly. */
00610 
00611 /* XXX These simply don't belong here, perhaps in apr_portable.h
00612  * based on some APR_HAVE_PID/GID/UID?
00613  */
00614 #ifdef __MINGW32__
00615 #ifndef __GNUC__
00616 typedef  int         pid_t;
00617 #endif
00618 typedef  int         uid_t;
00619 typedef  int         gid_t;
00620 #endif
00621 
00622 #ifdef __cplusplus
00623 }
00624 #endif
00625 
00626 #endif /* APR_H */
Command:
Quick Commands:
Upload:
[Read-Only] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [Read-Only]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.5313 seconds