| mod_perl documentation | view source | Contained in the mod_perl distribution. |
:common
:error
APR::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:fopen
:filepath
APR::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:fprot
APR::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:filetype
:finfo
APR::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:flock
:hook
:limit
:lockmech
:poll
:read_type
:shutdown_how
:socket
:status
:table
:uri
APR::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_PORTAPR::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 (Description in docs::2.0::api::Apache2::Const) 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::EABOVEROOTAPR::Const::EABSOLUTEAPR::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 (C_is_EACCES_ in docs::2.0::api::APR::Status)
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 (C_is_EAGAIN_ in docs::2.0::api::APR::Status)
function instead.
APR::Const::EBADDATEAPR::Const::EBADFAPR::Const::EBADIPAPR::Const::EBADMASKAPR::Const::EBADPATHAPR::Const::EBUSYAPR::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 (C_is_ECONNABORTED_ in docs::2.0::api::APR::Status)
function instead.
APR::Const::ECONNREFUSEDAPR::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 (C_is_ECONNRESET_ in docs::2.0::api::APR::Status)
function instead.
APR::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::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 (C_is_ENOENT_ in docs::2.0::api::APR::Status)
function instead.
APR::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::ENOTIMPLSomething is not implemented
APR::Const::ENOTSOCKAPR::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 (C_is_EOF_ in docs::2.0::api::APR::Status)
function instead.
APR::Const::EPATHWILDAPR::Const::EPIPEAPR::Const::EPROC_UNKNOWNAPR::Const::ERELATIVEAPR::Const::ESPIPEAPR::Const::ESYMNOTFOUNDAPR::Const::ETIMEDOUTAPR::Const::EXDEV:fopenuse APR::Const -compile => qw(:fopen);
The :fopen group is for XXX constants.
APR::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:filepathuse APR::Const -compile => qw(:filepath);
The :filepath group is for XXX constants.
APR::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:fprotuse APR::Const -compile => qw(:fprot);
The :fprot group is used by
$finfo->protection (C_protection_ in docs::2.0::api::APR::Finfo).
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 (C_filetype_ in docs::2.0::api::APR::Finfo).
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() (C_stat_ in docs::2.0::api::APR::Finfo) and
$finfo->valid (C_valid_ in docs::2.0::api::APR::Finfo).
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_EXCLUSIVEAPR::Const::FLOCK_NONBLOCKAPR::Const::FLOCK_SHAREDAPR::Const::FLOCK_TYPEMASK:hookuse APR::Const -compile => qw(:hook);
The :hook group is for XXX constants.
APR::Const::HOOK_FIRSTAPR::Const::HOOK_LASTAPR::Const::HOOK_MIDDLEAPR::Const::HOOK_REALLY_FIRSTAPR::Const::HOOK_REALLY_LAST:limituse APR::Const -compile => qw(:limit);
The :limit group is for XXX constants.
APR::Const::LIMIT_CPUAPR::Const::LIMIT_MEMAPR::Const::LIMIT_NOFILEAPR::Const::LIMIT_NPROC:lockmechuse APR::Const -compile => qw(:lockmech);
The :lockmech group is for XXX constants.
APR::Const::LOCK_DEFAULTAPR::Const::LOCK_FCNTLAPR::Const::LOCK_FLOCKAPR::Const::LOCK_POSIXSEMAPR::Const::LOCK_PROC_PTHREADAPR::Const::LOCK_SYSVSEM:polluse APR::Const -compile => qw(:poll);
The :poll group is used by
poll (C_poll_ in docs::2.0::api::APR::Socket).
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_READAPR::Const::SHUTDOWN_READWRITEAPR::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 (C_opt_get_ in docs::2.0::api::APR::Socket) and
opt_set (C_opt_set_ in docs::2.0::api::APR::Socket).
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 (C_is_TIMEUP_ in docs::2.0::api::APR::Status)
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 (C_compress_ in docs::2.0::api::APR::Table)
and APR::Table::overlap (C_overlap_ in docs::2.0::api::APR::Table).
APR::Const::OVERLAP_TABLES_SETSee APR::Table::compress (C_compress_ in docs::2.0::api::APR::Table)
and APR::Table::overlap (C_overlap_ in docs::2.0::api::APR::Table).
:uriuse APR::Const -compile => qw(:uri);
The :uri group of constants is for manipulating URIs.
APR::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_OMITPASSWORDSee APR::URI::unparse (C_unparse_ in docs::2.0::api::APR::URI).
APR::Const::URI_UNP_OMITPATHINFOSee APR::URI::unparse (C_unparse_ in docs::2.0::api::APR::URI).
APR::Const::URI_UNP_OMITQUERYSee APR::URI::unparse (C_unparse_ in docs::2.0::api::APR::URI).
APR::Const::URI_UNP_OMITSITEPARTSee APR::URI::unparse (C_unparse_ in docs::2.0::api::APR::URI).
APR::Const::URI_UNP_OMITUSERSee APR::URI::unparse (C_unparse_ in docs::2.0::api::APR::URI).
APR::Const::URI_UNP_OMITUSERINFOAPR::Const::URI_UNP_REVEALPASSWORDSee APR::URI::unparse (C_unparse_ in docs::2.0::api::APR::URI).
APR::Const::URI_WAIS_DEFAULT_PORTAPR::PerlIO::PERLIO_LAYERS_ARE_ENABLEDSee APR::PerlIO::Constants (Constants in docs::2.0::api::APR::PerlIO))
mod_perl 2.0 documentation (docs::2.0::index).
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.
The mod_perl development team and numerous contributors (about::contributors::people).
| mod_perl documentation | view source | Contained in the mod_perl distribution. |