util_ebcdic.h revision ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dc
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd/* Copyright 2000-2004 Apache Software Foundation
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * Licensed under the Apache License, Version 2.0 (the "License");
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * you may not use this file except in compliance with the License.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * You may obtain a copy of the License at
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * Unless required by applicable law or agreed to in writing, software
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * distributed under the License is distributed on an "AS IS" BASIS,
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * See the License for the specific language governing permissions and
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * limitations under the License.
1f728f035fca81594193e198b40bfa732b1c02ebtrawickextern "C" {
2a503ad7fa6fc3572647e915a0d7f31a17d11b1drbb * @package Utilities for EBCDIC conversion
2a503ad7fa6fc3572647e915a0d7f31a17d11b1drbb * Setup all of the global translation handlers
2a503ad7fa6fc3572647e915a0d7f31a17d11b1drbb * @param pool pool to allocate out of
67f6dca9f3c35eb904c7b29a220db6c4482374dctrawick * Convert protocol data from the implementation character
67f6dca9f3c35eb904c7b29a220db6c4482374dctrawick * set to ASCII.
67f6dca9f3c35eb904c7b29a220db6c4482374dctrawick * @param buffer buffer to translate
67f6dca9f3c35eb904c7b29a220db6c4482374dctrawick * @param len number of bytes to translate
67f6dca9f3c35eb904c7b29a220db6c4482374dctrawickvoid ap_xlate_proto_to_ascii(char *buffer, apr_size_t len);
67f6dca9f3c35eb904c7b29a220db6c4482374dctrawick * Convert protocol data to the implementation character
67f6dca9f3c35eb904c7b29a220db6c4482374dctrawick * set from ASCII.
67f6dca9f3c35eb904c7b29a220db6c4482374dctrawick * @param buffer buffer to translate
67f6dca9f3c35eb904c7b29a220db6c4482374dctrawick * @param len number of bytes to translate
67f6dca9f3c35eb904c7b29a220db6c4482374dctrawickvoid ap_xlate_proto_from_ascii(char *buffer, apr_size_t len);
8d290205047d88e37555019fe9a26f1c5ece7023gregames * Convert protocol data from the implementation charater
8d290205047d88e37555019fe9a26f1c5ece7023gregames * set to ASCII, then send it.
8d290205047d88e37555019fe9a26f1c5ece7023gregames * @param r the current request
8d290205047d88e37555019fe9a26f1c5ece7023gregames * @param ... the strings to write, followed by a NULL pointer
db3fa7db7c7910f2f23c3e3ffe0cf9f41a1899b9trawick#else /* APR_CHARSET_EBCDIC */
db3fa7db7c7910f2f23c3e3ffe0cf9f41a1899b9trawick#endif /* APR_CHARSET_EBCDIC */
1f728f035fca81594193e198b40bfa732b1c02ebtrawick#endif /* !APACHE_UTIL_EBCDIC_H */