Apache Portable Runtime
Loading...
Searching...
No Matches
Macros

Macros

#define APR_ENOKEY   (APR_UTIL_START_STATUS + 1)
 
#define APR_ENOIV   (APR_UTIL_START_STATUS + 2)
 
#define APR_EKEYTYPE   (APR_UTIL_START_STATUS + 3)
 
#define APR_ENOSPACE   (APR_UTIL_START_STATUS + 4)
 
#define APR_ECRYPT   (APR_UTIL_START_STATUS + 5)
 
#define APR_EPADDING   (APR_UTIL_START_STATUS + 6)
 
#define APR_EKEYLENGTH   (APR_UTIL_START_STATUS + 7)
 
#define APR_ENOCIPHER   (APR_UTIL_START_STATUS + 8)
 
#define APR_ENODIGEST   (APR_UTIL_START_STATUS + 9)
 
#define APR_ENOENGINE   (APR_UTIL_START_STATUS + 10)
 
#define APR_EINITENGINE   (APR_UTIL_START_STATUS + 11)
 
#define APR_EREINIT   (APR_UTIL_START_STATUS + 12)
 
#define APR_ENOVERIFY   (APR_UTIL_START_STATUS + 13)
 
#define APR_SERVER_DOWN   (APR_UTIL_START_STATUS + 101)
 
#define APR_AUTH_UNKNOWN   (APR_UTIL_START_STATUS + 102)
 
#define APR_PROXY_AUTH   (APR_UTIL_START_STATUS + 103)
 
#define APR_INAPPROPRIATE_AUTH   (APR_UTIL_START_STATUS + 104)
 
#define APR_INVALID_CREDENTIALS   (APR_UTIL_START_STATUS + 105)
 
#define APR_INSUFFICIENT_ACCESS   (APR_UTIL_START_STATUS + 106)
 
#define APR_INSUFFICIENT_RIGHTS   (APR_UTIL_START_STATUS + 107)
 
#define APR_CONSTRAINT_VIOLATION   (APR_UTIL_START_STATUS + 108)
 
#define APR_FILTER_ERROR   (APR_UTIL_START_STATUS + 109)
 
#define APR_NO_SUCH_OBJECT   (APR_UTIL_START_STATUS + 110)
 
#define APR_NO_SUCH_ATTRIBUTE   (APR_UTIL_START_STATUS + 111)
 
#define APR_COMPARE_TRUE   (APR_UTIL_START_STATUS + 112)
 
#define APR_COMPARE_FALSE   (APR_UTIL_START_STATUS + 113)
 
#define APR_NO_RESULTS_RETURNED   (APR_UTIL_START_STATUS + 114)
 
#define APR_WANT_READ   (APR_UTIL_START_STATUS + 115)
 
#define APR_WANT_WRITE   (APR_UTIL_START_STATUS + 116)
 
#define APR_USER_CANCELLED   (APR_UTIL_START_STATUS + 117)
 
#define APR_STATUS_IS_ENOKEY(s)   ((s) == APR_ENOKEY)
 
#define APR_STATUS_IS_ENOIV(s)   ((s) == APR_ENOIV)
 
#define APR_STATUS_IS_EKEYTYPE(s)   ((s) == APR_EKEYTYPE)
 
#define APR_STATUS_IS_ENOSPACE(s)   ((s) == APR_ENOSPACE)
 
#define APR_STATUS_IS_ECRYPT(s)   ((s) == APR_ECRYPT)
 
#define APR_STATUS_IS_EPADDING(s)   ((s) == APR_EPADDING)
 
#define APR_STATUS_IS_EKEYLENGTH(s)   ((s) == APR_EKEYLENGTH)
 
#define APR_STATUS_IS_ENOCIPHER(s)   ((s) == APR_ENOCIPHER)
 
#define APR_STATUS_IS_ENODIGEST(s)   ((s) == APR_ENODIGEST)
 
#define APR_STATUS_IS_ENOENGINE(s)   ((s) == APR_ENOENGINE)
 
#define APR_STATUS_IS_EINITENGINE(s)   ((s) == APR_EINITENGINE)
 
#define APR_STATUS_IS_EREINIT(s)   ((s) == APR_EREINIT)
 
#define APR_STATUS_IS_ENOVERIFY(s)   ((s) == APR_ENOVERIFY)
 
#define APR_STATUS_IS_SERVER_DOWN(s)   ((s) == APR_SERVER_DOWN)
 
#define APR_STATUS_IS_AUTH_UNKNOWN(s)   ((s) == APR_AUTH_UNKNOWN)
 
#define APR_STATUS_IS_PROXY_AUTH(s)   ((s) == APR_PROXY_AUTH)
 
#define APR_STATUS_IS_INAPPROPRIATE_AUTH(s)   ((s) == APR_INAPPROPRIATE_AUTH)
 
#define APR_STATUS_IS_INVALID_CREDENTIALS(s)   ((s) == APR_INVALID_CREDENTIALS)
 
#define APR_STATUS_IS_INSUFFICIENT_ACCESS(s)   ((s) == APR_INSUFFICIENT_ACCESS)
 
#define APR_STATUS_IS_INSUFFICIENT_RIGHTS(s)   ((s) == APR_INSUFFICIENT_RIGHTS)
 
#define APR_STATUS_IS_CONSTRAINT_VIOLATION(s)   ((s) == APR_CONSTRAINT_VIOLATION)
 
#define APR_STATUS_IS_FILTER_ERROR(s)   ((s) == APR_FILTER_ERROR)
 
#define APR_STATUS_IS_NO_SUCH_OBJECT(s)   ((s) == APR_NO_SUCH_OBJECT)
 
#define APR_STATUS_IS_NO_SUCH_ATTRIBUTE(s)   ((s) == APR_NO_SUCH_ATTRIBUTE)
 
#define APR_STATUS_IS_COMPARE_TRUE(s)   ((s) == APR_COMPARE_TRUE)
 
#define APR_STATUS_IS_COMPARE_FALSE(s)   ((s) == APR_COMPARE_FALSE)
 
#define APR_STATUS_IS_NO_RESULTS_RETURNED(s)   ((s) == APR_NO_RESULTS_RETURNED)
 
#define APR_STATUS_IS_WANT_READ(s)   ((s) == APR_WANT_READ)
 
#define APR_STATUS_IS_WANT_WRITE(s)   ((s) == APR_WANT_WRITE)
 
#define APR_STATUS_IS_USER_CANCELLED(s)   ((s) == APR_USER_CANCELLED)
 

Detailed Description

APU ERROR VALUES
APR_ENOKEY         The key provided was empty or NULL
APR_ENOIV          The initialisation vector provided was NULL
APR_EKEYTYPE       The key type was not recognised
APR_ENOSPACE       The buffer supplied was not big enough
APR_ECRYPT         An error occurred while encrypting or decrypting
APR_EPADDING       Padding was not supported
APR_EKEYLENGTH     The key length was incorrect
APR_ENOCIPHER      The cipher provided was not recognised
APR_ENODIGEST      The digest provided was not recognised
APR_ENOENGINE      The engine provided was not recognised
APR_EINITENGINE    The engine could not be initialised
APR_EREINIT        Underlying crypto has already been initialised
APR_ENOVERIFY      The signature verification failed
APR_SERVER_DOWN    The server is down
APR_AUTH_UNKNOWN   Unknown SASL mechanism 
APR_PROXY_AUTH     Proxy authorization has failed
APR_INAPPROPRIATE_AUTH  Authentication not appropriate for this entry
APR_INVALID_CREDENTIALS Invalid credentials were presented
APR_INSUFFICIENT_ACCESS The user has insufficient access
APR_INSUFFICIENT_RIGHTS The user has insufficient rights
APR_CONSTRAINT_VIOLATION A constraint was violated
APR_FILTER_ERROR   The filter was malformed
APR_NO_SUCH_OBJECT The object does not exist
APR_NO_SUCH_ATTRIBUTE The attribute does not exist
APR_COMPARE_TRUE   The comparison returned true
APR_COMPARE_FALSE  The comparison returned false
APR_NO_RESULTS_RETURNED No results were returned
APR_WANT_READ      Call me again when the socket is ready for reading
APR_WANT_WRITE     Call me again when the socket is ready for writing
APR_USER_CANCELLED User has cancelled the request
APR STATUS VALUES
APR_INCHILD        Program is currently executing in the child

Macro Definition Documentation

◆ APR_AUTH_UNKNOWN

#define APR_AUTH_UNKNOWN   (APR_UTIL_START_STATUS + 102)

◆ APR_COMPARE_FALSE

#define APR_COMPARE_FALSE   (APR_UTIL_START_STATUS + 113)

◆ APR_COMPARE_TRUE

#define APR_COMPARE_TRUE   (APR_UTIL_START_STATUS + 112)

◆ APR_CONSTRAINT_VIOLATION

#define APR_CONSTRAINT_VIOLATION   (APR_UTIL_START_STATUS + 108)

◆ APR_ECRYPT

#define APR_ECRYPT   (APR_UTIL_START_STATUS + 5)

◆ APR_EINITENGINE

#define APR_EINITENGINE   (APR_UTIL_START_STATUS + 11)

◆ APR_EKEYLENGTH

#define APR_EKEYLENGTH   (APR_UTIL_START_STATUS + 7)

◆ APR_EKEYTYPE

#define APR_EKEYTYPE   (APR_UTIL_START_STATUS + 3)

◆ APR_ENOCIPHER

#define APR_ENOCIPHER   (APR_UTIL_START_STATUS + 8)

◆ APR_ENODIGEST

#define APR_ENODIGEST   (APR_UTIL_START_STATUS + 9)

◆ APR_ENOENGINE

#define APR_ENOENGINE   (APR_UTIL_START_STATUS + 10)

◆ APR_ENOIV

#define APR_ENOIV   (APR_UTIL_START_STATUS + 2)

◆ APR_ENOKEY

#define APR_ENOKEY   (APR_UTIL_START_STATUS + 1)

◆ APR_ENOSPACE

#define APR_ENOSPACE   (APR_UTIL_START_STATUS + 4)

◆ APR_ENOVERIFY

#define APR_ENOVERIFY   (APR_UTIL_START_STATUS + 13)

◆ APR_EPADDING

#define APR_EPADDING   (APR_UTIL_START_STATUS + 6)

◆ APR_EREINIT

#define APR_EREINIT   (APR_UTIL_START_STATUS + 12)

◆ APR_FILTER_ERROR

#define APR_FILTER_ERROR   (APR_UTIL_START_STATUS + 109)

◆ APR_INAPPROPRIATE_AUTH

#define APR_INAPPROPRIATE_AUTH   (APR_UTIL_START_STATUS + 104)

◆ APR_INSUFFICIENT_ACCESS

#define APR_INSUFFICIENT_ACCESS   (APR_UTIL_START_STATUS + 106)

◆ APR_INSUFFICIENT_RIGHTS

#define APR_INSUFFICIENT_RIGHTS   (APR_UTIL_START_STATUS + 107)

◆ APR_INVALID_CREDENTIALS

#define APR_INVALID_CREDENTIALS   (APR_UTIL_START_STATUS + 105)

◆ APR_NO_RESULTS_RETURNED

#define APR_NO_RESULTS_RETURNED   (APR_UTIL_START_STATUS + 114)

◆ APR_NO_SUCH_ATTRIBUTE

#define APR_NO_SUCH_ATTRIBUTE   (APR_UTIL_START_STATUS + 111)

◆ APR_NO_SUCH_OBJECT

#define APR_NO_SUCH_OBJECT   (APR_UTIL_START_STATUS + 110)

◆ APR_PROXY_AUTH

#define APR_PROXY_AUTH   (APR_UTIL_START_STATUS + 103)

◆ APR_SERVER_DOWN

#define APR_SERVER_DOWN   (APR_UTIL_START_STATUS + 101)

◆ APR_STATUS_IS_AUTH_UNKNOWN

#define APR_STATUS_IS_AUTH_UNKNOWN ( s)    ((s) == APR_AUTH_UNKNOWN)

Authentication mechanism not supoorted by this server

◆ APR_STATUS_IS_COMPARE_FALSE

#define APR_STATUS_IS_COMPARE_FALSE ( s)    ((s) == APR_COMPARE_FALSE)

Comparison is false.

◆ APR_STATUS_IS_COMPARE_TRUE

#define APR_STATUS_IS_COMPARE_TRUE ( s)    ((s) == APR_COMPARE_TRUE)

Comparison is true.

◆ APR_STATUS_IS_CONSTRAINT_VIOLATION

#define APR_STATUS_IS_CONSTRAINT_VIOLATION ( s)    ((s) == APR_CONSTRAINT_VIOLATION)

A constraint was violated.

◆ APR_STATUS_IS_ECRYPT

#define APR_STATUS_IS_ECRYPT ( s)    ((s) == APR_ECRYPT)

An error occurred while encrypting or decrypting

◆ APR_STATUS_IS_EINITENGINE

#define APR_STATUS_IS_EINITENGINE ( s)    ((s) == APR_EINITENGINE)

The engine could not be initialised

◆ APR_STATUS_IS_EKEYLENGTH

#define APR_STATUS_IS_EKEYLENGTH ( s)    ((s) == APR_EKEYLENGTH)

An error occurred with the key length

◆ APR_STATUS_IS_EKEYTYPE

#define APR_STATUS_IS_EKEYTYPE ( s)    ((s) == APR_EKEYTYPE)

The key type was not recognised

◆ APR_STATUS_IS_ENOCIPHER

#define APR_STATUS_IS_ENOCIPHER ( s)    ((s) == APR_ENOCIPHER)

The cipher provided was not recognised

◆ APR_STATUS_IS_ENODIGEST

#define APR_STATUS_IS_ENODIGEST ( s)    ((s) == APR_ENODIGEST)

The digest provided was not recognised

◆ APR_STATUS_IS_ENOENGINE

#define APR_STATUS_IS_ENOENGINE ( s)    ((s) == APR_ENOENGINE)

The engine provided was not recognised

◆ APR_STATUS_IS_ENOIV

#define APR_STATUS_IS_ENOIV ( s)    ((s) == APR_ENOIV)

The initialisation vector was not provided

◆ APR_STATUS_IS_ENOKEY

#define APR_STATUS_IS_ENOKEY ( s)    ((s) == APR_ENOKEY)

The key was empty or not provided

◆ APR_STATUS_IS_ENOSPACE

#define APR_STATUS_IS_ENOSPACE ( s)    ((s) == APR_ENOSPACE)

The buffer provided was not big enough

◆ APR_STATUS_IS_ENOVERIFY

#define APR_STATUS_IS_ENOVERIFY ( s)    ((s) == APR_ENOVERIFY)

The signature verification failed

◆ APR_STATUS_IS_EPADDING

#define APR_STATUS_IS_EPADDING ( s)    ((s) == APR_EPADDING)

An error occurred while padding

◆ APR_STATUS_IS_EREINIT

#define APR_STATUS_IS_EREINIT ( s)    ((s) == APR_EREINIT)

Crypto has already been initialised

◆ APR_STATUS_IS_FILTER_ERROR

#define APR_STATUS_IS_FILTER_ERROR ( s)    ((s) == APR_FILTER_ERROR)

The filter was malformed.

◆ APR_STATUS_IS_INAPPROPRIATE_AUTH

#define APR_STATUS_IS_INAPPROPRIATE_AUTH ( s)    ((s) == APR_INAPPROPRIATE_AUTH)

Inappropriate authentication was specified (e.g., simple auth was specified but the entry does not have a userPassword attribute).

◆ APR_STATUS_IS_INSUFFICIENT_ACCESS

#define APR_STATUS_IS_INSUFFICIENT_ACCESS ( s)    ((s) == APR_INSUFFICIENT_ACCESS)

The user has insufficient access to perform the operation.

◆ APR_STATUS_IS_INSUFFICIENT_RIGHTS

#define APR_STATUS_IS_INSUFFICIENT_RIGHTS ( s)    ((s) == APR_INSUFFICIENT_RIGHTS)

The user has insufficient rights to perform the operation.

◆ APR_STATUS_IS_INVALID_CREDENTIALS

#define APR_STATUS_IS_INVALID_CREDENTIALS ( s)    ((s) == APR_INVALID_CREDENTIALS)

Invalid credentials were presented (e.g., the wrong password).

◆ APR_STATUS_IS_NO_RESULTS_RETURNED

#define APR_STATUS_IS_NO_RESULTS_RETURNED ( s)    ((s) == APR_NO_RESULTS_RETURNED)

No results were returned.

◆ APR_STATUS_IS_NO_SUCH_ATTRIBUTE

#define APR_STATUS_IS_NO_SUCH_ATTRIBUTE ( s)    ((s) == APR_NO_SUCH_ATTRIBUTE)

No such attribute.

◆ APR_STATUS_IS_NO_SUCH_OBJECT

#define APR_STATUS_IS_NO_SUCH_OBJECT ( s)    ((s) == APR_NO_SUCH_OBJECT)

No such object.

◆ APR_STATUS_IS_PROXY_AUTH

#define APR_STATUS_IS_PROXY_AUTH ( s)    ((s) == APR_PROXY_AUTH)

Proxy authorization has failed

◆ APR_STATUS_IS_SERVER_DOWN

#define APR_STATUS_IS_SERVER_DOWN ( s)    ((s) == APR_SERVER_DOWN)

The server is down

◆ APR_STATUS_IS_USER_CANCELLED

#define APR_STATUS_IS_USER_CANCELLED ( s)    ((s) == APR_USER_CANCELLED)

User has cancelled the request.

◆ APR_STATUS_IS_WANT_READ

#define APR_STATUS_IS_WANT_READ ( s)    ((s) == APR_WANT_READ)

Call us back when the socket is ready for a read.

◆ APR_STATUS_IS_WANT_WRITE

#define APR_STATUS_IS_WANT_WRITE ( s)    ((s) == APR_WANT_WRITE)

Call us back when the socket is ready for a write.

◆ APR_USER_CANCELLED

#define APR_USER_CANCELLED   (APR_UTIL_START_STATUS + 117)

◆ APR_WANT_READ

#define APR_WANT_READ   (APR_UTIL_START_STATUS + 115)

◆ APR_WANT_WRITE

#define APR_WANT_WRITE   (APR_UTIL_START_STATUS + 116)