apreq_error.h revision d5ef50bb5810983012435957be0680bde34d1e44
/*
** 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
**
**
** 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 APREQ_ERROR_H
#define APREQ_ERROR_H
#include "apr_errno.h"
#include "apreq.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* apreq's wrapper around apr_strerror();
* recognizes APREQ_ERROR_* status codes.
*/
char *buf,
/**
* @file apreq_error.h
* @brief Error status codes.
* @ingroup libapreq2
*
* Define the APREQ_ error codes.
*/
#ifndef APR_EBADARG
/**
* Bad Arguments return value
* @see APR_BADARG
*/
#endif
/** Internal apreq error. */
/** Attempted to perform unsafe action with tainted data. */
/** Parsing interrupted. */
/** Invalid input data. */
/** Invalid character. */
/** Invalid byte sequence. */
/** Invalid attribute. */
/** Invalid header. */
/** Invalid utf8 encoding. */
/** Missing input data. */
/** Missing required token. */
/** Missing attribute. */
/** Missing header. */
/** Missing parser. */
/** Conflicting information. */
/** Exceeds configured maximum limit. */
/** Below configured minimum limit. */
/** Setting already configured. */
#ifdef __cplusplus
}
#endif
#endif /* APREQ_ERROR_H */