|
|
:common:errorAPR::Const::EABOVEROOTAPR::Const::EABSOLUTEAPR::Const::EACCESAPR::Const::EAGAINAPR::Const::EBADDATEAPR::Const::EBADFAPR::Const::EBADIPAPR::Const::EBADMASKAPR::Const::EBADPATHAPR::Const::EBUSYAPR::Const::ECONNABORTEDAPR::Const::ECONNREFUSEDAPR::Const::ECONNRESETAPR::Const::EDSOOPENAPR::Const::EEXISTAPR::Const::EFTYPEAPR::Const::EGENERALAPR::Const::EHOSTUNREACHAPR::Const::EINCOMPLETEAPR::Const::EINITAPR::Const::EINPROGRESSAPR::Const::EINTRAPR::Const::EINVALAPR::Const::EINVALSOCKAPR::Const::EMFILEAPR::Const::EMISMATCHAPR::Const::ENAMETOOLONGAPR::Const::ENDAPR::Const::ENETUNREACHAPR::Const::ENFILEAPR::Const::ENODIRAPR::Const::ENOENTAPR::Const::ENOLOCKAPR::Const::ENOMEMAPR::Const::ENOPOLLAPR::Const::ENOPOOLAPR::Const::ENOPROCAPR::Const::ENOSHMAVAILAPR::Const::ENOSOCKETAPR::Const::ENOSPCAPR::Const::ENOSTATAPR::Const::ENOTDIRAPR::Const::ENOTEMPTYAPR::Const::ENOTHDKEYAPR::Const::ENOTHREADAPR::Const::ENOTIMEAPR::Const::ENOTIMPLAPR::Const::ENOTSOCKAPR::Const::EOFAPR::Const::EPATHWILDAPR::Const::EPIPEAPR::Const::EPROC_UNKNOWNAPR::Const::ERELATIVEAPR::Const::ESPIPEAPR::Const::ESYMNOTFOUNDAPR::Const::ETIMEDOUTAPR::Const::EXDEV:fopenAPR::Const::FOPEN_BINARYAPR::Const::FOPEN_BUFFEREDAPR::Const::FOPEN_CREATEAPR::Const::FOPEN_DELONCLOSEAPR::Const::FOPEN_EXCLAPR::Const::FOPEN_PENDAPR::Const::FOPEN_READAPR::Const::FOPEN_TRUNCATEAPR::Const::FOPEN_WRITE:filepathAPR::Const::FILEPATH_ENCODING_LOCALEAPR::Const::FILEPATH_ENCODING_UNKNOWNAPR::Const::FILEPATH_ENCODING_UTF8APR::Const::FILEPATH_NATIVEAPR::Const::FILEPATH_NOTABOVEROOTAPR::Const::FILEPATH_NOTABSOLUTEAPR::Const::FILEPATH_NOTRELATIVEAPR::Const::FILEPATH_SECUREROOTAPR::Const::FILEPATH_SECUREROOTTESTAPR::Const::FILEPATH_TRUENAME:fprotAPR::Const::FPROT_GEXECUTEAPR::Const::FPROT_GREADAPR::Const::FPROT_GSETIDAPR::Const::FPROT_GWRITEAPR::Const::FPROT_OS_DEFAULTAPR::Const::FPROT_UEXECUTEAPR::Const::FPROT_UREADAPR::Const::FPROT_USETIDAPR::Const::FPROT_UWRITEAPR::Const::FPROT_WEXECUTEAPR::Const::FPROT_WREADAPR::Const::FPROT_WSTICKYAPR::Const::FPROT_WWRITE:filetypeAPR::Const::FILETYPE_BLKAPR::Const::FILETYPE_CHRAPR::Const::FILETYPE_DIRAPR::Const::FILETYPE_LNKAPR::Const::FILETYPE_NOFILEAPR::Const::FILETYPE_PIPEAPR::Const::FILETYPE_REGAPR::Const::FILETYPE_SOCKAPR::Const::FILETYPE_UNKFILE:finfoAPR::Const::FINFO_ATIMEAPR::Const::FINFO_CSIZEAPR::Const::FINFO_CTIMEAPR::Const::FINFO_DEVAPR::Const::FINFO_DIRENTAPR::Const::FINFO_GPROTAPR::Const::FINFO_GROUPAPR::Const::FINFO_ICASEAPR::Const::FINFO_IDENTAPR::Const::FINFO_INODEAPR::Const::FINFO_LINKAPR::Const::FINFO_MINAPR::Const::FINFO_MTIMEAPR::Const::FINFO_NAMEAPR::Const::FINFO_NLINKAPR::Const::FINFO_NORMAPR::Const::FINFO_OWNERAPR::Const::FINFO_PROTAPR::Const::FINFO_SIZEAPR::Const::FINFO_TYPEAPR::Const::FINFO_UPROTAPR::Const::FINFO_USERAPR::Const::FINFO_WPROT:flockAPR::Const::FLOCK_EXCLUSIVEAPR::Const::FLOCK_NONBLOCKAPR::Const::FLOCK_SHAREDAPR::Const::FLOCK_TYPEMASK:hookAPR::Const::HOOK_FIRSTAPR::Const::HOOK_LASTAPR::Const::HOOK_MIDDLEAPR::Const::HOOK_REALLY_FIRSTAPR::Const::HOOK_REALLY_LAST:limit:lockmechAPR::Const::LOCK_DEFAULTAPR::Const::LOCK_FCNTLAPR::Const::LOCK_FLOCKAPR::Const::LOCK_POSIXSEMAPR::Const::LOCK_PROC_PTHREADAPR::Const::LOCK_SYSVSEM:pollAPR::Const::POLLERRAPR::Const::POLLHUPAPR::Const::POLLINAPR::Const::POLLNVALAPR::Const::POLLOUTAPR::Const::POLLPRI:read_type:shutdown_how:socketAPR::Const::SO_DEBUGAPR::Const::SO_DISCONNECTEDAPR::Const::SO_KEEPALIVEAPR::Const::SO_LINGERAPR::Const::SO_NONBLOCKAPR::Const::SO_RCVBUFAPR::Const::SO_REUSEADDRAPR::Const::SO_SNDBUF:status:table:uriAPR::Const::URI_ACAP_DEFAULT_PORTAPR::Const::URI_FTP_DEFAULT_PORTAPR::Const::URI_GOPHER_DEFAULT_PORTAPR::Const::URI_HTTPS_DEFAULT_PORTAPR::Const::URI_HTTP_DEFAULT_PORTAPR::Const::URI_IMAP_DEFAULT_PORTAPR::Const::URI_LDAP_DEFAULT_PORTAPR::Const::URI_NFS_DEFAULT_PORTAPR::Const::URI_NNTP_DEFAULT_PORTAPR::Const::URI_POP_DEFAULT_PORTAPR::Const::URI_PROSPERO_DEFAULT_PORTAPR::Const::URI_RTSP_DEFAULT_PORTAPR::Const::URI_SIP_DEFAULT_PORTAPR::Const::URI_SNEWS_DEFAULT_PORTAPR::Const::URI_SSH_DEFAULT_PORTAPR::Const::URI_TELNET_DEFAULT_PORTAPR::Const::URI_TIP_DEFAULT_PORTAPR::Const::URI_UNP_OMITPASSWORDAPR::Const::URI_UNP_OMITPATHINFOAPR::Const::URI_UNP_OMITQUERYAPR::Const::URI_UNP_OMITSITEPARTAPR::Const::URI_UNP_OMITUSERAPR::Const::URI_UNP_OMITUSERINFOAPR::Const::URI_UNP_REVEALPASSWORDAPR::Const::URI_WAIS_DEFAULT_PORT
APR::Const - Perl Interface for APR Constants
# 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|docs::2.0::api::Apache2::Const/Description> for more
information.
:commonuse APR::Const -compile => qw(:common);
The :common group is for XXX constants.
APR::Const::SUCCESS
:erroruse APR::Const -compile => qw(:error);
The :error group is for XXX constants.
APR::Const::EABOVEROOT
APR::Const::EABSOLUTE
APR::Const::EACCESDue to possible variants in conditions matching EACCES,
for checking error codes against this you most likely want to use the
APR::Status::is_EACCES|docs::2.0::api::APR::Status/C_is_EACCES_
function instead.
APR::Const::EAGAINThe 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|docs::2.0::api::APR::Status/C_is_EAGAIN_
function instead.
APR::Const::EBADDATE
APR::Const::EBADF
APR::Const::EBADIP
APR::Const::EBADMASK
APR::Const::EBADPATH
APR::Const::EBUSY
APR::Const::ECONNABORTEDDue to possible variants in conditions matching ECONNABORTED,
for checking error codes against this you most likely want to use the
APR::Status::is_ECONNABORTED|docs::2.0::api::APR::Status/C_is_ECONNABORTED_
function instead.
APR::Const::ECONNREFUSED
APR::Const::ECONNRESETDue to possible variants in conditions matching ECONNRESET, for
checking error codes against this you most likely want to use the
APR::Status::is_ECONNRESET|docs::2.0::api::APR::Status/C_is_ECONNRESET_
function instead.
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::ENOENTDue to possible variants in conditions matching ENOENT,
for checking error codes against this you most likely want to use the
APR::Status::is_ENOENT|docs::2.0::api::APR::Status/C_is_ENOENT_
function instead.
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::ENOTIMPLSomething is not implemented
APR::Const::ENOTSOCK
APR::Const::EOFDue to possible variants in conditions matching EOF,
for checking error codes against this you most likely want to use the
APR::Status::is_EOF|docs::2.0::api::APR::Status/C_is_EOF_
function instead.
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
:fopenuse APR::Const -compile => qw(:fopen);
The :fopen group is for XXX constants.
APR::Const::FOPEN_BINARY
APR::Const::FOPEN_BUFFERED
APR::Const::FOPEN_CREATE
APR::Const::FOPEN_DELONCLOSE
APR::Const::FOPEN_EXCL
APR::Const::FOPEN_PEND
APR::Const::FOPEN_READ
APR::Const::FOPEN_TRUNCATE
APR::Const::FOPEN_WRITE
:filepathuse APR::Const -compile => qw(:filepath);
The :filepath group is for XXX constants.
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
:fprotuse APR::Const -compile => qw(:fprot);
The :fprot group is used by
$finfo->protection|docs::2.0::api::APR::Finfo/C_protection_.
APR::Const::FPROT_GEXECUTEExecute by group
APR::Const::FPROT_GREADRead by group
APR::Const::FPROT_GSETIDSet group id
APR::Const::FPROT_GWRITEWrite by group
APR::Const::FPROT_OS_DEFAULTuse OS's default permissions
APR::Const::FPROT_UEXECUTEExecute by user
APR::Const::FPROT_UREADRead by user
APR::Const::FPROT_USETIDSet user id
APR::Const::FPROT_UWRITEWrite by user
APR::Const::FPROT_WEXECUTEExecute by others
APR::Const::FPROT_WREADRead by others
APR::Const::FPROT_WSTICKYSticky bit
APR::Const::FPROT_WWRITEWrite by others
:filetypeuse APR::Const -compile => qw(:filetype);
The :filetype group is used by
$finfo->filetype|docs::2.0::api::APR::Finfo/C_filetype_.
APR::Const::FILETYPE_BLKa file is a block device
APR::Const::FILETYPE_CHRa file is a character device
APR::Const::FILETYPE_DIRa file is a directory
APR::Const::FILETYPE_LNKa file is a symbolic link
APR::Const::FILETYPE_NOFILEthe file type is undedetermined.
APR::Const::FILETYPE_PIPEa file is a FIFO or a pipe.
APR::Const::FILETYPE_REGa file is a regular file.
APR::Const::FILETYPE_SOCKa file is a [unix domain] socket.
APR::Const::FILETYPE_UNKFILEa file is of some other unknown type or the type cannot be determined.
:finfouse APR::Const -compile => qw(:finfo);
The :finfo group is used by
stat()|docs::2.0::api::APR::Finfo/C_stat_ and
$finfo->valid|docs::2.0::api::APR::Finfo/C_valid_.
APR::Const::FINFO_ATIMEAccess Time
APR::Const::FINFO_CSIZEStorage size consumed by the file
APR::Const::FINFO_CTIMECreation Time
APR::Const::FINFO_DEVDevice
APR::Const::FINFO_DIRENTan atomic unix apr_dir_read()
APR::Const::FINFO_GPROTGroup protection bits
APR::Const::FINFO_GROUPGroup id
APR::Const::FINFO_ICASEwhether device is case insensitive
APR::Const::FINFO_IDENTdevice and inode
APR::Const::FINFO_INODEInode
APR::Const::FINFO_LINKStat the link not the file itself if it is a link
APR::Const::FINFO_MINtype, mtime, ctime, atime, size
APR::Const::FINFO_MTIMEModification Time
APR::Const::FINFO_NAMEname in proper case
APR::Const::FINFO_NLINKNumber of links
APR::Const::FINFO_NORMAll fields provided by an atomic unix apr_stat()
APR::Const::FINFO_OWNERuser and group
APR::Const::FINFO_PROTall protections
APR::Const::FINFO_SIZESize of the file
APR::Const::FINFO_TYPEType
APR::Const::FINFO_UPROTUser protection bits
APR::Const::FINFO_USERUser id
APR::Const::FINFO_WPROTWorld protection bits
:flockuse APR::Const -compile => qw(:flock);
The :flock group is for XXX constants.
APR::Const::FLOCK_EXCLUSIVE
APR::Const::FLOCK_NONBLOCK
APR::Const::FLOCK_SHARED
APR::Const::FLOCK_TYPEMASK
:hookuse APR::Const -compile => qw(:hook);
The :hook group is for XXX constants.
APR::Const::HOOK_FIRST
APR::Const::HOOK_LAST
APR::Const::HOOK_MIDDLE
APR::Const::HOOK_REALLY_FIRST
APR::Const::HOOK_REALLY_LAST
:limituse APR::Const -compile => qw(:limit);
The :limit group is for XXX constants.
APR::Const::LIMIT_CPU
APR::Const::LIMIT_MEM
APR::Const::LIMIT_NOFILE
APR::Const::LIMIT_NPROC
:lockmechuse APR::Const -compile => qw(:lockmech);
The :lockmech group is for XXX constants.
APR::Const::LOCK_DEFAULT
APR::Const::LOCK_FCNTL
APR::Const::LOCK_FLOCK
APR::Const::LOCK_POSIXSEM
APR::Const::LOCK_PROC_PTHREAD
APR::Const::LOCK_SYSVSEM
:polluse APR::Const -compile => qw(:poll);
The :poll group is used by
poll|docs::2.0::api::APR::Socket/C_poll_.
APR::Const::POLLERRPending error
APR::Const::POLLHUPHangup occurred
APR::Const::POLLINCan read without blocking
APR::Const::POLLNVALDescriptior invalid
APR::Const::POLLOUTCan write without blocking
APR::Const::POLLPRIPriority data available
:read_typeuse APR::Const -compile => qw(:read_type);
The :read_type group is for IO constants.
APR::Const::BLOCK_READthe read function blocks
APR::Const::NONBLOCK_READthe read function does not block
:shutdown_howuse APR::Const -compile => qw(:shutdown_how);
The :shutdown_how group is for XXX constants.
APR::Const::SHUTDOWN_READ
APR::Const::SHUTDOWN_READWRITE
APR::Const::SHUTDOWN_WRITE
:socketuse APR::Const -compile => qw(:socket);
The :socket group is for the
APR::Socket|docs::2.0::api::APR::Socket object constants, in
methods opt_get|docs::2.0::api::APR::Socket/C_opt_get_ and
opt_set|docs::2.0::api::APR::Socket/C_opt_set_.
The following section discusses in detail each of the :socket
constants.
APR::Const::SO_DEBUGPossible values:
XXX
Turns on debugging information
APR::Const::SO_DISCONNECTEDQueries the disconnected state of the socket. (Currently only used on Windows)
Possible values:
XXX
APR::Const::SO_KEEPALIVEKeeps connections active
Possible values:
XXX
APR::Const::SO_LINGERLingers on close if data is present
APR::Const::SO_NONBLOCKTurns 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_RCVBUFControls the ReceiveBufferSize setting
Possible values:
XXX
APR::Const::SO_REUSEADDRThe rules used in validating addresses supplied to bind should allow reuse of local addresses.
Possible values:
XXX
APR::Const::SO_SNDBUFControls the SendBufferSize setting
Possible values:
XXX
:statususe 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::TIMEUPThe 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|docs::2.0::api::APR::Status/C_is_TIMEUP_
function instead.
:tableuse APR::Const -compile => qw(:table);
The :table group is for overlap() and compress() constants.
See APR::Table|docs::2.0::api::APR::Table for details.
APR::Const::OVERLAP_TABLES_MERGESee APR::Table::compress|docs::2.0::api::APR::Table/C_compress_
and APR::Table::overlap|docs::2.0::api::APR::Table/C_overlap_.
APR::Const::OVERLAP_TABLES_SETSee APR::Table::compress|docs::2.0::api::APR::Table/C_compress_
and APR::Table::overlap|docs::2.0::api::APR::Table/C_overlap_.
:uriuse APR::Const -compile => qw(:uri);
The :uri group of constants is for manipulating URIs.
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_OMITPASSWORDSee APR::URI::unparse|docs::2.0::api::APR::URI/C_unparse_.
APR::Const::URI_UNP_OMITPATHINFOSee APR::URI::unparse|docs::2.0::api::APR::URI/C_unparse_.
APR::Const::URI_UNP_OMITQUERYSee APR::URI::unparse|docs::2.0::api::APR::URI/C_unparse_.
APR::Const::URI_UNP_OMITSITEPARTSee APR::URI::unparse|docs::2.0::api::APR::URI/C_unparse_.
APR::Const::URI_UNP_OMITUSERSee APR::URI::unparse|docs::2.0::api::APR::URI/C_unparse_.
APR::Const::URI_UNP_OMITUSERINFO
APR::Const::URI_UNP_REVEALPASSWORDSee APR::URI::unparse|docs::2.0::api::APR::URI/C_unparse_.
APR::Const::URI_WAIS_DEFAULT_PORT
APR::PerlIO::PERLIO_LAYERS_ARE_ENABLEDSee APR::PerlIO::Constants|docs::2.0::api::APR::PerlIO/Constants)
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.