Home / Documentation / 2.0 / API / | ||||
APR::Const - Perl Interface for APR Constants | ||||
|
||
:common
:error
APR::Const::EABOVEROOT
APR::Const::EABSOLUTE
APR::Const::EACCES
APR::Const::EAGAIN
APR::Const::EBADDATE
APR::Const::EBADF
APR::Const::EBADIP
APR::Const::EBADMASK
APR::Const::EBADPATH
APR::Const::EBUSY
APR::Const::ECONNABORTED
APR::Const::ECONNREFUSED
APR::Const::ECONNRESET
APR::Const::EDSOOPEN
APR::Const::EEXIST
APR::Const::EFTYPE
APR::Const::EGENERAL
APR::Const::EHOSTUNREACH
APR::Const::EINCOMPLETE
APR::Const::EINIT
APR::Const::EINPROGRESS
APR::Const::EINTR
APR::Const::EINVAL
APR::Const::EINVALSOCK
APR::Const::EMFILE
APR::Const::EMISMATCH
APR::Const::ENAMETOOLONG
APR::Const::END
APR::Const::ENETUNREACH
APR::Const::ENFILE
APR::Const::ENODIR
APR::Const::ENOENT
APR::Const::ENOLOCK
APR::Const::ENOMEM
APR::Const::ENOPOLL
APR::Const::ENOPOOL
APR::Const::ENOPROC
APR::Const::ENOSHMAVAIL
APR::Const::ENOSOCKET
APR::Const::ENOSPC
APR::Const::ENOSTAT
APR::Const::ENOTDIR
APR::Const::ENOTEMPTY
APR::Const::ENOTHDKEY
APR::Const::ENOTHREAD
APR::Const::ENOTIME
APR::Const::ENOTIMPL
APR::Const::ENOTSOCK
APR::Const::EOF
APR::Const::EPATHWILD
APR::Const::EPIPE
APR::Const::EPROC_UNKNOWN
APR::Const::ERELATIVE
APR::Const::ESPIPE
APR::Const::ESYMNOTFOUND
APR::Const::ETIMEDOUT
APR::Const::EXDEV
:fopen
:filepath
APR::Const::FILEPATH_ENCODING_LOCALE
APR::Const::FILEPATH_ENCODING_UNKNOWN
APR::Const::FILEPATH_ENCODING_UTF8
APR::Const::FILEPATH_NATIVE
APR::Const::FILEPATH_NOTABOVEROOT
APR::Const::FILEPATH_NOTABSOLUTE
APR::Const::FILEPATH_NOTRELATIVE
APR::Const::FILEPATH_SECUREROOT
APR::Const::FILEPATH_SECUREROOTTEST
APR::Const::FILEPATH_TRUENAME
:fprot
APR::Const::FPROT_GEXECUTE
APR::Const::FPROT_GREAD
APR::Const::FPROT_GSETID
APR::Const::FPROT_GWRITE
APR::Const::FPROT_OS_DEFAULT
APR::Const::FPROT_UEXECUTE
APR::Const::FPROT_UREAD
APR::Const::FPROT_USETID
APR::Const::FPROT_UWRITE
APR::Const::FPROT_WEXECUTE
APR::Const::FPROT_WREAD
APR::Const::FPROT_WSTICKY
APR::Const::FPROT_WWRITE
:filetype
:finfo
APR::Const::FINFO_ATIME
APR::Const::FINFO_CSIZE
APR::Const::FINFO_CTIME
APR::Const::FINFO_DEV
APR::Const::FINFO_DIRENT
APR::Const::FINFO_GPROT
APR::Const::FINFO_GROUP
APR::Const::FINFO_ICASE
APR::Const::FINFO_IDENT
APR::Const::FINFO_INODE
APR::Const::FINFO_LINK
APR::Const::FINFO_MIN
APR::Const::FINFO_MTIME
APR::Const::FINFO_NAME
APR::Const::FINFO_NLINK
APR::Const::FINFO_NORM
APR::Const::FINFO_OWNER
APR::Const::FINFO_PROT
APR::Const::FINFO_SIZE
APR::Const::FINFO_TYPE
APR::Const::FINFO_UPROT
APR::Const::FINFO_USER
APR::Const::FINFO_WPROT
:flock
:hook
:limit
:lockmech
:poll
:read_type
:shutdown_how
:socket
:status
:table
:uri
APR::Const::URI_ACAP_DEFAULT_PORT
APR::Const::URI_FTP_DEFAULT_PORT
APR::Const::URI_GOPHER_DEFAULT_PORT
APR::Const::URI_HTTPS_DEFAULT_PORT
APR::Const::URI_HTTP_DEFAULT_PORT
APR::Const::URI_IMAP_DEFAULT_PORT
APR::Const::URI_LDAP_DEFAULT_PORT
APR::Const::URI_NFS_DEFAULT_PORT
APR::Const::URI_NNTP_DEFAULT_PORT
APR::Const::URI_POP_DEFAULT_PORT
APR::Const::URI_PROSPERO_DEFAULT_PORT
APR::Const::URI_RTSP_DEFAULT_PORT
APR::Const::URI_SIP_DEFAULT_PORT
APR::Const::URI_SNEWS_DEFAULT_PORT
APR::Const::URI_SSH_DEFAULT_PORT
APR::Const::URI_TELNET_DEFAULT_PORT
APR::Const::URI_TIP_DEFAULT_PORT
APR::Const::URI_UNP_OMITPASSWORD
APR::Const::URI_UNP_OMITPATHINFO
APR::Const::URI_UNP_OMITQUERY
APR::Const::URI_UNP_OMITSITEPART
APR::Const::URI_UNP_OMITUSER
APR::Const::URI_UNP_OMITUSERINFO
APR::Const::URI_UNP_REVEALPASSWORD
APR::Const::URI_WAIS_DEFAULT_PORT
# make the constants available but don't import them use APR::Const -compile => qw(constant names ...); # w/o the => syntax sugar use APR::Const ("-compile", qw(constant names ...)); # compile and import the constants use APR::Const qw(constant names ...);
This package contains constants specific to APR
features.
Refer to the Apache2::Const description section
for more
information.
APR::Const::EACCES
Due to possible variants in conditions matching EACCES
,
for checking error codes against this you most likely want to use the
APR::Status::is_EACCES
function instead.
APR::Const::EAGAIN
The error Resource temporarily unavailable, may be returned by many
different system calls, especially IO calls. Most likely you want to
use the
APR::Status::is_EAGAIN
function instead.
APR::Const::ECONNABORTED
Due to possible variants in conditions matching ECONNABORTED
,
for checking error codes against this you most likely want to use the
APR::Status::is_ECONNABORTED
function instead.
APR::Const::ECONNRESET
Due to possible variants in conditions matching ECONNRESET
, for
checking error codes against this you most likely want to use the
APR::Status::is_ECONNRESET
function instead.
APR::Const::ENOENT
Due to possible variants in conditions matching ENOENT
,
for checking error codes against this you most likely want to use the
APR::Status::is_ENOENT
function instead.
APR::Const::EOF
Due to possible variants in conditions matching EOF
,
for checking error codes against this you most likely want to use the
APR::Status::is_EOF
function instead.
:filetype
use APR::Const -compile => qw(:filetype);
The :filetype
group is used by
$finfo->filetype
.
:shutdown_how
use APR::Const -compile => qw(:shutdown_how);
The :shutdown_how
group is for XXX constants.
:socket
use APR::Const -compile => qw(:socket);
The :socket
group is for the
APR::Socket
object constants, in
methods opt_get
and
opt_set
.
The following section discusses in detail each of the :socket
constants.
APR::Const::SO_DISCONNECTED
Queries the disconnected state of the socket. (Currently only used on Windows)
Possible values:
XXX
APR::Const::SO_NONBLOCK
Turns blocking IO mode on/off for socket.
Possible values:
1 nonblocking 0 blocking
For example, to set a socket to a blocking IO mode:
use APR::Socket (); use APR::Const -compile => qw(SO_NONBLOCK); ... if ($socket->opt_get(APR::Const::SO_NONBLOCK)) { $socket->opt_set(APR::Const::SO_NONBLOCK => 0); }
You don't have to query for this option, before setting it. It was done for the demonstration purpose.
APR::Const::SO_REUSEADDR
The rules used in validating addresses supplied to bind should allow reuse of local addresses.
Possible values:
XXX
:status
use APR::Const -compile => qw(:status);
The :status
group is for the API that return status code, or set
the error variable XXXXXX.
The following section discusses in detail each of the available
:status
constants.
APR::Const::TIMEUP
The operation did not finish before the timeout.
Due to possible variants in conditions matching TIMEUP
,
for checking error codes against this you most likely want to use the
APR::Status::is_TIMEUP
function instead.
:table
use APR::Const -compile => qw(:table);
The :table
group is for overlap()
and compress()
constants.
See APR::Table
for details.
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.
|