|
APR::Const - Perl Interface for APR Constants |
:common:errorAPR::EABOVEROOTAPR::EABSOLUTEAPR::EACCESAPR::EAGAINAPR::EBADDATEAPR::EBADFAPR::EBADIPAPR::EBADMASKAPR::EBADPATHAPR::EBUSYAPR::ECONNABORTEDAPR::ECONNREFUSEDAPR::ECONNRESETAPR::EDSOOPENAPR::EEXISTAPR::EFTYPEAPR::EGENERALAPR::EHOSTUNREACHAPR::EINCOMPLETEAPR::EINITAPR::EINPROGRESSAPR::EINTRAPR::EINVALAPR::EINVALSOCKAPR::EMFILEAPR::EMISMATCHAPR::ENAMETOOLONGAPR::ENDAPR::ENETUNREACHAPR::ENFILEAPR::ENODIRAPR::ENOENTAPR::ENOLOCKAPR::ENOMEMAPR::ENOPOLLAPR::ENOPOOLAPR::ENOPROCAPR::ENOSHMAVAILAPR::ENOSOCKETAPR::ENOSPCAPR::ENOSTATAPR::ENOTDIRAPR::ENOTEMPTYAPR::ENOTHDKEYAPR::ENOTHREADAPR::ENOTIMEAPR::ENOTIMPLAPR::ENOTSOCKAPR::EOFAPR::EPATHWILDAPR::EPIPEAPR::EPROC_UNKNOWNAPR::ERELATIVEAPR::ESPIPEAPR::ESYMNOTFOUNDAPR::ETIMEDOUTAPR::EXDEV:filemodeAPR::BINARYAPR::BUFFEREDAPR::CREATEAPR::DELONCLOSEAPR::EXCLAPR::PENDAPR::READAPR::TRUNCATEAPR::WRITE:filepathAPR::FILEPATH_ENCODING_LOCALEAPR::FILEPATH_ENCODING_UNKNOWNAPR::FILEPATH_ENCODING_UTF8APR::FILEPATH_NATIVEAPR::FILEPATH_NOTABOVEROOTAPR::FILEPATH_NOTABSOLUTEAPR::FILEPATH_NOTRELATIVEAPR::FILEPATH_SECUREROOTAPR::FILEPATH_SECUREROOTTESTAPR::FILEPATH_TRUENAME:filepermsAPR::GEXECUTEAPR::GREADAPR::GWRITEAPR::UEXECUTEAPR::UREADAPR::UWRITEAPR::WEXECUTEAPR::WREADAPR::WWRITE:filetype:finfoAPR::FINFO_ATIMEAPR::FINFO_CSIZEAPR::FINFO_CTIMEAPR::FINFO_DEVAPR::FINFO_DIRENTAPR::FINFO_GPROTAPR::FINFO_GROUPAPR::FINFO_ICASEAPR::FINFO_IDENTAPR::FINFO_INODEAPR::FINFO_LINKAPR::FINFO_MINAPR::FINFO_MTIMEAPR::FINFO_NAMEAPR::FINFO_NLINKAPR::FINFO_NORMAPR::FINFO_OWNERAPR::FINFO_PROTAPR::FINFO_SIZEAPR::FINFO_TYPEAPR::FINFO_UPROTAPR::FINFO_USERAPR::FINFO_WPROT:flock:hook:limit:lockmechAPR::LOCK_DEFAULTAPR::LOCK_FCNTLAPR::LOCK_FLOCKAPR::LOCK_POSIXSEMAPR::LOCK_PROC_PTHREADAPR::LOCK_SYSVSEM:poll:read_type:shutdown_how:socketAPR::SO_DEBUGAPR::SO_DISCONNECTEDAPR::SO_KEEPALIVEAPR::SO_LINGERAPR::SO_NONBLOCKAPR::SO_RCVBUFAPR::SO_REUSEADDRAPR::SO_SNDBUF:status:table:uriAPR::URI_ACAP_DEFAULT_PORTAPR::URI_FTP_DEFAULT_PORTAPR::URI_GOPHER_DEFAULT_PORTAPR::URI_HTTPS_DEFAULT_PORTAPR::URI_HTTP_DEFAULT_PORTAPR::URI_IMAP_DEFAULT_PORTAPR::URI_LDAP_DEFAULT_PORTAPR::URI_NFS_DEFAULT_PORTAPR::URI_NNTP_DEFAULT_PORTAPR::URI_POP_DEFAULT_PORTAPR::URI_PROSPERO_DEFAULT_PORTAPR::URI_RTSP_DEFAULT_PORTAPR::URI_SIP_DEFAULT_PORTAPR::URI_SNEWS_DEFAULT_PORTAPR::URI_SSH_DEFAULT_PORTAPR::URI_TELNET_DEFAULT_PORTAPR::URI_TIP_DEFAULT_PORTAPR::URI_UNP_OMITPASSWORDAPR::URI_UNP_OMITPATHINFOAPR::URI_UNP_OMITQUERYAPR::URI_UNP_OMITSITEPARTAPR::URI_UNP_OMITUSERAPR::URI_UNP_OMITUSERINFOAPR::URI_UNP_REVEALPASSWORDAPR::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 Apache::Const description
section|docs::2.0::api::Apache::Const/Description> for more
information.
:commonuse APR::Const -compile => qw(:common);
The :common group is for XXX constants.
APR::SUCCESS
:erroruse APR::Const -compile => qw(:error);
The :error group is for XXX constants.
APR::EABOVEROOT
APR::EABSOLUTE
APR::EACCES
APR::EAGAINThe error Resource temporarily unavailable, may be returned by many different system calls, especially IO calls.
APR::EBADDATE
APR::EBADF
APR::EBADIP
APR::EBADMASK
APR::EBADPATH
APR::EBUSY
APR::ECONNABORTED
APR::ECONNREFUSED
APR::ECONNRESET
APR::EDSOOPEN
APR::EEXIST
APR::EFTYPE
APR::EGENERAL
APR::EHOSTUNREACH
APR::EINCOMPLETE
APR::EINIT
APR::EINPROGRESS
APR::EINTR
APR::EINVAL
APR::EINVALSOCK
APR::EMFILE
APR::EMISMATCH
APR::ENAMETOOLONG
APR::END
APR::ENETUNREACH
APR::ENFILE
APR::ENODIR
APR::ENOENT
APR::ENOLOCK
APR::ENOMEM
APR::ENOPOLL
APR::ENOPOOL
APR::ENOPROC
APR::ENOSHMAVAIL
APR::ENOSOCKET
APR::ENOSPC
APR::ENOSTAT
APR::ENOTDIR
APR::ENOTEMPTY
APR::ENOTHDKEY
APR::ENOTHREAD
APR::ENOTIME
APR::ENOTIMPL
APR::ENOTSOCK
APR::EOF
APR::EPATHWILD
APR::EPIPE
APR::EPROC_UNKNOWN
APR::ERELATIVE
APR::ESPIPE
APR::ESYMNOTFOUND
APR::ETIMEDOUT
APR::EXDEV
:filemodeuse APR::Const -compile => qw(:filemode);
The :filemode group is for XXX constants.
APR::BINARY
APR::BUFFERED
APR::CREATE
APR::DELONCLOSE
APR::EXCL
APR::PEND
APR::READ
APR::TRUNCATE
APR::WRITE
:filepathuse APR::Const -compile => qw(:filepath);
The :filepath group is for XXX constants.
APR::FILEPATH_ENCODING_LOCALE
APR::FILEPATH_ENCODING_UNKNOWN
APR::FILEPATH_ENCODING_UTF8
APR::FILEPATH_NATIVE
APR::FILEPATH_NOTABOVEROOT
APR::FILEPATH_NOTABSOLUTE
APR::FILEPATH_NOTRELATIVE
APR::FILEPATH_SECUREROOT
APR::FILEPATH_SECUREROOTTEST
APR::FILEPATH_TRUENAME
:filepermsuse APR::Const -compile => qw(:fileperms);
The :fileperms group is for XXX constants.
APR::GEXECUTE
APR::GREAD
APR::GWRITE
APR::UEXECUTE
APR::UREAD
APR::UWRITE
APR::WEXECUTE
APR::WREAD
APR::WWRITE
:filetypeuse APR::Const -compile => qw(:filetype);
The :filetype group is for XXX constants.
APR::NOFILE
APR::REG
APR::DIR
APR::CHR
APR::BLK
APR::PIPE
APR::LNK
APR::SOCK
APR::UNKFILE
:finfouse APR::Const -compile => qw(:finfo);
The :finfo group is for XXX constants.
APR::FINFO_ATIME
APR::FINFO_CSIZE
APR::FINFO_CTIME
APR::FINFO_DEV
APR::FINFO_DIRENT
APR::FINFO_GPROT
APR::FINFO_GROUP
APR::FINFO_ICASE
APR::FINFO_IDENT
APR::FINFO_INODE
APR::FINFO_LINK
APR::FINFO_MIN
APR::FINFO_MTIME
APR::FINFO_NAME
APR::FINFO_NLINK
APR::FINFO_NORM
APR::FINFO_OWNER
APR::FINFO_PROT
APR::FINFO_SIZE
APR::FINFO_TYPE
APR::FINFO_UPROT
APR::FINFO_USER
APR::FINFO_WPROT
:flockuse APR::Const -compile => qw(:flock);
The :flock group is for XXX constants.
APR::FLOCK_EXCLUSIVE
APR::FLOCK_NONBLOCK
APR::FLOCK_SHARED
APR::FLOCK_TYPEMASK
:hookuse APR::Const -compile => qw(:hook);
The :hook group is for XXX constants.
APR::HOOK_FIRST
APR::HOOK_LAST
APR::HOOK_MIDDLE
APR::HOOK_REALLY_FIRST
APR::HOOK_REALLY_LAST
:limituse APR::Const -compile => qw(:limit);
The :limit group is for XXX constants.
APR::LIMIT_CPU
APR::LIMIT_MEM
APR::LIMIT_NOFILE
APR::LIMIT_NPROC
:lockmechuse APR::Const -compile => qw(:lockmech);
The :lockmech group is for XXX constants.
APR::LOCK_DEFAULT
APR::LOCK_FCNTL
APR::LOCK_FLOCK
APR::LOCK_POSIXSEM
APR::LOCK_PROC_PTHREAD
APR::LOCK_SYSVSEM
:polluse APR::Const -compile => qw(:poll);
The :poll group is for XXX constants.
APR::POLLERR
APR::POLLHUP
APR::POLLIN
APR::POLLNVAL
APR::POLLOUT
APR::POLLPRI
:read_typeuse APR::Const -compile => qw(:read_type);
The :read_type group is for IO constants.
APR::BLOCK_READthe read function blocks
APR::NONBLOCK_READthe read function does not block
:shutdown_howuse APR::Const -compile => qw(:shutdown_how);
The :shutdown_how group is for XXX constants.
APR::SHUTDOWN_READ
APR::SHUTDOWN_READWRITE
APR::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::SO_DEBUGPossible values:
XXX
Turns on debugging information
APR::SO_DISCONNECTEDQueries the disconnected state of the socket. (Currently only used on Windows)
Possible values:
XXX
APR::SO_KEEPALIVEKeeps connections active
Possible values:
XXX
APR::SO_LINGERLingers on close if data is present
APR::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::SO_NONBLOCK)) {
$socket->opt_set(APR::SO_NONBLOCK => 0);
}
You don't have to query for this option, before setting it. It was done for the demonstration purpose.
APR::SO_RCVBUFControls the ReceiveBufferSize setting
Possible values:
XXX
APR::SO_REUSEADDRThe rules used in validating addresses supplied to bind should allow reuse of local addresses.
Possible values:
XXX
APR::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::TIMEUPThe operation did not finish before the timeout.
: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::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::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::URI_ACAP_DEFAULT_PORT
APR::URI_FTP_DEFAULT_PORT
APR::URI_GOPHER_DEFAULT_PORT
APR::URI_HTTPS_DEFAULT_PORT
APR::URI_HTTP_DEFAULT_PORT
APR::URI_IMAP_DEFAULT_PORT
APR::URI_LDAP_DEFAULT_PORT
APR::URI_NFS_DEFAULT_PORT
APR::URI_NNTP_DEFAULT_PORT
APR::URI_POP_DEFAULT_PORT
APR::URI_PROSPERO_DEFAULT_PORT
APR::URI_RTSP_DEFAULT_PORT
APR::URI_SIP_DEFAULT_PORT
APR::URI_SNEWS_DEFAULT_PORT
APR::URI_SSH_DEFAULT_PORT
APR::URI_TELNET_DEFAULT_PORT
APR::URI_TIP_DEFAULT_PORT
APR::URI_UNP_OMITPASSWORDSee APR::URI::unparse|docs::2.0::api::APR::URI/C_unparse_.
APR::URI_UNP_OMITPATHINFOSee APR::URI::unparse|docs::2.0::api::APR::URI/C_unparse_.
APR::URI_UNP_OMITQUERYSee APR::URI::unparse|docs::2.0::api::APR::URI/C_unparse_.
APR::URI_UNP_OMITSITEPARTSee APR::URI::unparse|docs::2.0::api::APR::URI/C_unparse_.
APR::URI_UNP_OMITUSERSee APR::URI::unparse|docs::2.0::api::APR::URI/C_unparse_.
APR::URI_UNP_OMITUSERINFO
APR::URI_UNP_REVEALPASSWORDSee APR::URI::unparse|docs::2.0::api::APR::URI/C_unparse_.
APR::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.
The mod_perl development team and numerous contributors.
|
APR::Const - Perl Interface for APR Constants |