Loading...
Searching...
No Matches
apu_errno.h
Go to the documentation of this file.
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef APU_ERRNO_H
#define APU_ERRNO_H
#include "apr.h"
#include "apr_errno.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#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_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)
typedef struct apu_err_t {
const char *reason;
const char *msg;
int rc;
} apu_err_t;
#ifdef __cplusplus
}
#endif
#endif /* ! APU_ERRNO_H */
apu_err_t
Definition apu_errno.h:161