Blame include/util_charset.h

Packit 90a5c9
/* Licensed to the Apache Software Foundation (ASF) under one or more
Packit 90a5c9
 * contributor license agreements.  See the NOTICE file distributed with
Packit 90a5c9
 * this work for additional information regarding copyright ownership.
Packit 90a5c9
 * The ASF licenses this file to You under the Apache License, Version 2.0
Packit 90a5c9
 * (the "License"); you may not use this file except in compliance with
Packit 90a5c9
 * the License.  You may obtain a copy of the License at
Packit 90a5c9
 *
Packit 90a5c9
 *     http://www.apache.org/licenses/LICENSE-2.0
Packit 90a5c9
 *
Packit 90a5c9
 * Unless required by applicable law or agreed to in writing, software
Packit 90a5c9
 * distributed under the License is distributed on an "AS IS" BASIS,
Packit 90a5c9
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Packit 90a5c9
 * See the License for the specific language governing permissions and
Packit 90a5c9
 * limitations under the License.
Packit 90a5c9
 */
Packit 90a5c9
Packit 90a5c9
/**
Packit 90a5c9
 * @file  util_charset.h
Packit 90a5c9
 * @brief charset conversion
Packit 90a5c9
 *
Packit 90a5c9
 * @defgroup APACHE_CORE_CHARSET Charset Conversion
Packit 90a5c9
 * @ingroup  APACHE_CORE
Packit 90a5c9
 * 
Packit 90a5c9
 * These are the translation handles used to translate between the network
Packit 90a5c9
 * format of protocol headers and the local machine format.
Packit 90a5c9
 *
Packit 90a5c9
 * For an EBCDIC machine, these are valid handles which are set up at
Packit 90a5c9
 * initialization to translate between ISO-8859-1 and the code page of
Packit 90a5c9
 * the source code.\n
Packit 90a5c9
 * For an ASCII machine, they are undefined.
Packit 90a5c9
 * 
Packit 90a5c9
 * @see ap_init_ebcdic()
Packit 90a5c9
 * @{
Packit 90a5c9
 */
Packit 90a5c9
Packit 90a5c9
#ifndef APACHE_UTIL_CHARSET_H
Packit 90a5c9
#define APACHE_UTIL_CHARSET_H
Packit 90a5c9
Packit 90a5c9
#ifdef __cplusplus
Packit 90a5c9
extern "C" {
Packit 90a5c9
#endif
Packit 90a5c9
Packit 90a5c9
#include "apr.h"
Packit 90a5c9
Packit 90a5c9
#if APR_CHARSET_EBCDIC || defined(DOXYGEN)
Packit 90a5c9
Packit 90a5c9
#include "apr_xlate.h"
Packit 90a5c9
Packit 90a5c9
/**
Packit 90a5c9
 * On EBCDIC machine this is a translation handle used to translate the
Packit 90a5c9
 * headers from the local machine format to ASCII for network transmission.
Packit 90a5c9
 * @note On ASCII system, this variable does not exist.
Packit 90a5c9
 * So, its use should be guarded by \#if APR_CHARSET_EBCDIC.
Packit 90a5c9
 */
Packit 90a5c9
extern apr_xlate_t *ap_hdrs_to_ascii;
Packit 90a5c9
Packit 90a5c9
/**
Packit 90a5c9
 * On EBCDIC machine this is a translation handle used to translate the
Packit 90a5c9
 * headers from ASCII to the local machine format after network transmission.
Packit 90a5c9
 * @note On ASCII system, this variable does not exist.
Packit 90a5c9
 * So, its use should be guarded by \#if APR_CHARSET_EBCDIC.
Packit 90a5c9
 */
Packit 90a5c9
extern apr_xlate_t *ap_hdrs_from_ascii;
Packit 90a5c9
Packit 90a5c9
#endif  /* APR_CHARSET_EBCDIC */
Packit 90a5c9
Packit 90a5c9
#ifdef __cplusplus
Packit 90a5c9
}
Packit 90a5c9
#endif
Packit 90a5c9
Packit 90a5c9
#endif  /* !APACHE_UTIL_CHARSET_H */
Packit 90a5c9
/** @} */