Apache Portable Runtime
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
Defines
|
Typedefs
|
Functions
apr_errno.h File Reference
APR Error Codes.
More...
#include "
apr.h
"
Go to the source code of this file.
Defines
#define
APR_FROM_OS_ERROR
(e) (e == 0 ?
APR_SUCCESS
: e +
APR_OS_START_SYSERR
)
#define
APR_TO_OS_ERROR
(e) (e == 0 ?
APR_SUCCESS
: e -
APR_OS_START_SYSERR
)
#define
APR_OS_START_ERROR
20000
#define
APR_OS_ERRSPACE_SIZE
50000
#define
APR_UTIL_ERRSPACE_SIZE
20000
#define
APR_OS_START_STATUS
(
APR_OS_START_ERROR
+
APR_OS_ERRSPACE_SIZE
)
#define
APR_UTIL_START_STATUS
#define
APR_OS_START_USERERR
(
APR_OS_START_STATUS
+
APR_OS_ERRSPACE_SIZE
)
#define
APR_OS_START_USEERR
APR_OS_START_USERERR
#define
APR_OS_START_CANONERR
#define
APR_OS_START_EAIERR
(
APR_OS_START_CANONERR
+
APR_OS_ERRSPACE_SIZE
)
#define
APR_OS_START_SYSERR
(
APR_OS_START_EAIERR
+
APR_OS_ERRSPACE_SIZE
)
#define
APR_SUCCESS
0
#define
APR_ENOSTAT
(
APR_OS_START_ERROR
+ 1)
#define
APR_ENOPOOL
(
APR_OS_START_ERROR
+ 2)
#define
APR_EBADDATE
(
APR_OS_START_ERROR
+ 4)
#define
APR_EINVALSOCK
(
APR_OS_START_ERROR
+ 5)
#define
APR_ENOPROC
(
APR_OS_START_ERROR
+ 6)
#define
APR_ENOTIME
(
APR_OS_START_ERROR
+ 7)
#define
APR_ENODIR
(
APR_OS_START_ERROR
+ 8)
#define
APR_ENOLOCK
(
APR_OS_START_ERROR
+ 9)
#define
APR_ENOPOLL
(
APR_OS_START_ERROR
+ 10)
#define
APR_ENOSOCKET
(
APR_OS_START_ERROR
+ 11)
#define
APR_ENOTHREAD
(
APR_OS_START_ERROR
+ 12)
#define
APR_ENOTHDKEY
(
APR_OS_START_ERROR
+ 13)
#define
APR_EGENERAL
(
APR_OS_START_ERROR
+ 14)
#define
APR_ENOSHMAVAIL
(
APR_OS_START_ERROR
+ 15)
#define
APR_EBADIP
(
APR_OS_START_ERROR
+ 16)
#define
APR_EBADMASK
(
APR_OS_START_ERROR
+ 17)
#define
APR_EDSOOPEN
(
APR_OS_START_ERROR
+ 19)
#define
APR_EABSOLUTE
(
APR_OS_START_ERROR
+ 20)
#define
APR_ERELATIVE
(
APR_OS_START_ERROR
+ 21)
#define
APR_EINCOMPLETE
(
APR_OS_START_ERROR
+ 22)
#define
APR_EABOVEROOT
(
APR_OS_START_ERROR
+ 23)
#define
APR_EBADPATH
(
APR_OS_START_ERROR
+ 24)
#define
APR_EPATHWILD
(
APR_OS_START_ERROR
+ 25)
#define
APR_ESYMNOTFOUND
(
APR_OS_START_ERROR
+ 26)
#define
APR_EPROC_UNKNOWN
(
APR_OS_START_ERROR
+ 27)
#define
APR_ENOTENOUGHENTROPY
(
APR_OS_START_ERROR
+ 28)
#define
APR_STATUS_IS_ENOSTAT
(s) ((s) ==
APR_ENOSTAT
)
#define
APR_STATUS_IS_ENOPOOL
(s) ((s) ==
APR_ENOPOOL
)
#define
APR_STATUS_IS_EBADDATE
(s) ((s) ==
APR_EBADDATE
)
#define
APR_STATUS_IS_EINVALSOCK
(s) ((s) ==
APR_EINVALSOCK
)
#define
APR_STATUS_IS_ENOPROC
(s) ((s) ==
APR_ENOPROC
)
#define
APR_STATUS_IS_ENOTIME
(s) ((s) ==
APR_ENOTIME
)
#define
APR_STATUS_IS_ENODIR
(s) ((s) ==
APR_ENODIR
)
#define
APR_STATUS_IS_ENOLOCK
(s) ((s) ==
APR_ENOLOCK
)
#define
APR_STATUS_IS_ENOPOLL
(s) ((s) ==
APR_ENOPOLL
)
#define
APR_STATUS_IS_ENOSOCKET
(s) ((s) ==
APR_ENOSOCKET
)
#define
APR_STATUS_IS_ENOTHREAD
(s) ((s) ==
APR_ENOTHREAD
)
#define
APR_STATUS_IS_ENOTHDKEY
(s) ((s) ==
APR_ENOTHDKEY
)
#define
APR_STATUS_IS_EGENERAL
(s) ((s) ==
APR_EGENERAL
)
#define
APR_STATUS_IS_ENOSHMAVAIL
(s) ((s) ==
APR_ENOSHMAVAIL
)
#define
APR_STATUS_IS_EBADIP
(s) ((s) ==
APR_EBADIP
)
#define
APR_STATUS_IS_EBADMASK
(s) ((s) ==
APR_EBADMASK
)
#define
APR_STATUS_IS_EDSOOPEN
(s) ((s) ==
APR_EDSOOPEN
)
#define
APR_STATUS_IS_EABSOLUTE
(s) ((s) ==
APR_EABSOLUTE
)
#define
APR_STATUS_IS_ERELATIVE
(s) ((s) ==
APR_ERELATIVE
)
#define
APR_STATUS_IS_EINCOMPLETE
(s) ((s) ==
APR_EINCOMPLETE
)
#define
APR_STATUS_IS_EABOVEROOT
(s) ((s) ==
APR_EABOVEROOT
)
#define
APR_STATUS_IS_EBADPATH
(s) ((s) ==
APR_EBADPATH
)
#define
APR_STATUS_IS_EPATHWILD
(s) ((s) ==
APR_EPATHWILD
)
#define
APR_STATUS_IS_ESYMNOTFOUND
(s) ((s) ==
APR_ESYMNOTFOUND
)
#define
APR_STATUS_IS_EPROC_UNKNOWN
(s) ((s) ==
APR_EPROC_UNKNOWN
)
#define
APR_STATUS_IS_ENOTENOUGHENTROPY
(s) ((s) ==
APR_ENOTENOUGHENTROPY
)
#define
APR_INCHILD
(
APR_OS_START_STATUS
+ 1)
#define
APR_INPARENT
(
APR_OS_START_STATUS
+ 2)
#define
APR_DETACH
(
APR_OS_START_STATUS
+ 3)
#define
APR_NOTDETACH
(
APR_OS_START_STATUS
+ 4)
#define
APR_CHILD_DONE
(
APR_OS_START_STATUS
+ 5)
#define
APR_CHILD_NOTDONE
(
APR_OS_START_STATUS
+ 6)
#define
APR_TIMEUP
(
APR_OS_START_STATUS
+ 7)
#define
APR_INCOMPLETE
(
APR_OS_START_STATUS
+ 8)
#define
APR_BADCH
(
APR_OS_START_STATUS
+ 12)
#define
APR_BADARG
(
APR_OS_START_STATUS
+ 13)
#define
APR_EOF
(
APR_OS_START_STATUS
+ 14)
#define
APR_NOTFOUND
(
APR_OS_START_STATUS
+ 15)
#define
APR_ANONYMOUS
(
APR_OS_START_STATUS
+ 19)
#define
APR_FILEBASED
(
APR_OS_START_STATUS
+ 20)
#define
APR_KEYBASED
(
APR_OS_START_STATUS
+ 21)
#define
APR_EINIT
(
APR_OS_START_STATUS
+ 22)
#define
APR_ENOTIMPL
(
APR_OS_START_STATUS
+ 23)
#define
APR_EMISMATCH
(
APR_OS_START_STATUS
+ 24)
#define
APR_EBUSY
(
APR_OS_START_STATUS
+ 25)
#define
APR_STATUS_IS_INCHILD
(s) ((s) ==
APR_INCHILD
)
#define
APR_STATUS_IS_INPARENT
(s) ((s) ==
APR_INPARENT
)
#define
APR_STATUS_IS_DETACH
(s) ((s) ==
APR_DETACH
)
#define
APR_STATUS_IS_NOTDETACH
(s) ((s) ==
APR_NOTDETACH
)
#define
APR_STATUS_IS_CHILD_DONE
(s) ((s) ==
APR_CHILD_DONE
)
#define
APR_STATUS_IS_CHILD_NOTDONE
(s) ((s) ==
APR_CHILD_NOTDONE
)
#define
APR_STATUS_IS_TIMEUP
(s) ((s) ==
APR_TIMEUP
)
#define
APR_STATUS_IS_INCOMPLETE
(s) ((s) ==
APR_INCOMPLETE
)
#define
APR_STATUS_IS_BADCH
(s) ((s) ==
APR_BADCH
)
#define
APR_STATUS_IS_BADARG
(s) ((s) ==
APR_BADARG
)
#define
APR_STATUS_IS_EOF
(s) ((s) ==
APR_EOF
)
#define
APR_STATUS_IS_NOTFOUND
(s) ((s) ==
APR_NOTFOUND
)
#define
APR_STATUS_IS_ANONYMOUS
(s) ((s) ==
APR_ANONYMOUS
)
#define
APR_STATUS_IS_FILEBASED
(s) ((s) ==
APR_FILEBASED
)
#define
APR_STATUS_IS_KEYBASED
(s) ((s) ==
APR_KEYBASED
)
#define
APR_STATUS_IS_EINIT
(s) ((s) ==
APR_EINIT
)
#define
APR_STATUS_IS_ENOTIMPL
(s) ((s) ==
APR_ENOTIMPL
)
#define
APR_STATUS_IS_EMISMATCH
(s) ((s) ==
APR_EMISMATCH
)
#define
APR_STATUS_IS_EBUSY
(s) ((s) ==
APR_EBUSY
)
#define
APR_EACCES
(
APR_OS_START_CANONERR
+ 1)
#define
APR_EEXIST
(
APR_OS_START_CANONERR
+ 2)
#define
APR_ENAMETOOLONG
(
APR_OS_START_CANONERR
+ 3)
#define
APR_ENOENT
(
APR_OS_START_CANONERR
+ 4)
#define
APR_ENOTDIR
(
APR_OS_START_CANONERR
+ 5)
#define
APR_ENOSPC
(
APR_OS_START_CANONERR
+ 6)
#define
APR_ENOMEM
(
APR_OS_START_CANONERR
+ 7)
#define
APR_EMFILE
(
APR_OS_START_CANONERR
+ 8)
#define
APR_ENFILE
(
APR_OS_START_CANONERR
+ 9)
#define
APR_EBADF
(
APR_OS_START_CANONERR
+ 10)
#define
APR_EINVAL
(
APR_OS_START_CANONERR
+ 11)
#define
APR_ESPIPE
(
APR_OS_START_CANONERR
+ 12)
#define
APR_EAGAIN
(
APR_OS_START_CANONERR
+ 13)
#define
APR_EINTR
(
APR_OS_START_CANONERR
+ 14)
#define
APR_ENOTSOCK
(
APR_OS_START_CANONERR
+ 15)
#define
APR_ECONNREFUSED
(
APR_OS_START_CANONERR
+ 16)
#define
APR_EINPROGRESS
(
APR_OS_START_CANONERR
+ 17)
#define
APR_ECONNABORTED
(
APR_OS_START_CANONERR
+ 18)
#define
APR_ECONNRESET
(
APR_OS_START_CANONERR
+ 19)
#define
APR_ETIMEDOUT
(
APR_OS_START_CANONERR
+ 20)
#define
APR_EHOSTUNREACH
(
APR_OS_START_CANONERR
+ 21)
#define
APR_ENETUNREACH
(
APR_OS_START_CANONERR
+ 22)
#define
APR_EFTYPE
(
APR_OS_START_CANONERR
+ 23)
#define
APR_EPIPE
(
APR_OS_START_CANONERR
+ 24)
#define
APR_EXDEV
(
APR_OS_START_CANONERR
+ 25)
#define
APR_ENOTEMPTY
(
APR_OS_START_CANONERR
+ 26)
#define
APR_EAFNOSUPPORT
(
APR_OS_START_CANONERR
+ 27)
#define
APR_FROM_OS_ERROR
(e) (e)
#define
APR_TO_OS_ERROR
(e) (e)
#define
apr_get_os_error
() (errno)
#define
apr_set_os_error
(e) (errno = (e))
#define
apr_get_netos_error
() (errno)
#define
apr_set_netos_error
(e) (errno = (e))
#define
APR_STATUS_IS_EACCES
(s) ((s) ==
APR_EACCES
)
#define
APR_STATUS_IS_EEXIST
(s) ((s) ==
APR_EEXIST
)
#define
APR_STATUS_IS_ENAMETOOLONG
(s) ((s) ==
APR_ENAMETOOLONG
)
#define
APR_STATUS_IS_ENOENT
(s) ((s) ==
APR_ENOENT
)
#define
APR_STATUS_IS_ENOTDIR
(s) ((s) ==
APR_ENOTDIR
)
#define
APR_STATUS_IS_ENOSPC
(s) ((s) ==
APR_ENOSPC
)
#define
APR_STATUS_IS_ENOMEM
(s) ((s) ==
APR_ENOMEM
)
#define
APR_STATUS_IS_EMFILE
(s) ((s) ==
APR_EMFILE
)
#define
APR_STATUS_IS_ENFILE
(s) ((s) ==
APR_ENFILE
)
#define
APR_STATUS_IS_EBADF
(s) ((s) ==
APR_EBADF
)
#define
APR_STATUS_IS_EINVAL
(s) ((s) ==
APR_EINVAL
)
#define
APR_STATUS_IS_ESPIPE
(s) ((s) ==
APR_ESPIPE
)
#define
APR_STATUS_IS_EAGAIN
(s) ((s) ==
APR_EAGAIN
)
#define
APR_STATUS_IS_EINTR
(s) ((s) ==
APR_EINTR
)
#define
APR_STATUS_IS_ENOTSOCK
(s) ((s) ==
APR_ENOTSOCK
)
#define
APR_STATUS_IS_ECONNREFUSED
(s) ((s) ==
APR_ECONNREFUSED
)
#define
APR_STATUS_IS_EINPROGRESS
(s) ((s) ==
APR_EINPROGRESS
)
#define
APR_STATUS_IS_ECONNABORTED
(s) ((s) ==
APR_ECONNABORTED
)
#define
APR_STATUS_IS_ECONNRESET
(s) ((s) ==
APR_ECONNRESET
)
#define
APR_STATUS_IS_ETIMEDOUT
(s) ((s) ==
APR_ETIMEDOUT
)
#define
APR_STATUS_IS_EHOSTUNREACH
(s) ((s) ==
APR_EHOSTUNREACH
)
#define
APR_STATUS_IS_ENETUNREACH
(s) ((s) ==
APR_ENETUNREACH
)
#define
APR_STATUS_IS_EFTYPE
(s) ((s) ==
APR_EFTYPE
)
#define
APR_STATUS_IS_EPIPE
(s) ((s) ==
APR_EPIPE
)
#define
APR_STATUS_IS_EXDEV
(s) ((s) ==
APR_EXDEV
)
#define
APR_STATUS_IS_ENOTEMPTY
(s)
#define
APR_STATUS_IS_EAFNOSUPPORT
(s) ((s) ==
APR_EAFNOSUPPORT
)
Typedefs
typedef int
apr_status_t
Functions
char *
apr_strerror
(
apr_status_t
statcode, char *buf, apr_size_t bufsize)
Detailed Description
APR Error Codes.
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Defines
Generated on Fri Sep 6 2013 12:51:12 for Apache Portable Runtime by
1.7.6.1