summaryrefslogtreecommitdiff
path: root/include/util_charset.h
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2000-10-26 11:34:04 +0000
committerJeff Trawick <trawick@apache.org>2000-10-26 11:34:04 +0000
commitd7b3bb82c5913b12bd96050fa7bf4badd6660594 (patch)
tree7de64743328ddbae981983029c37df677cf86ba6 /include/util_charset.h
parentbd8f8930e6eb1de409e06815dc836f307072c1b4 (diff)
downloadhttpd-d7b3bb82c5913b12bd96050fa7bf4badd6660594.tar.gz
Get rid of some outdated character set translation cruft.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86753 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/util_charset.h')
-rw-r--r--include/util_charset.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/include/util_charset.h b/include/util_charset.h
index a604de035b..a9f4c63a48 100644
--- a/include/util_charset.h
+++ b/include/util_charset.h
@@ -87,36 +87,6 @@ extern apr_xlate_t *ap_locale_to_ascii;
* On an ASCII machine this is NULL */
extern apr_xlate_t *ap_locale_from_ascii;
-/* Save & Restore the current conversion settings
- *
- * On an EBCDIC machine:
- *
- * "input" means: ASCII -> EBCDIC (when reading MIME Headers and
- * PUT/POST data)
- * "output" means: EBCDIC -> ASCII (when sending MIME Headers and Chunks)
- *
- * On an ASCII machine:
- *
- * no conversion of headers, so we need to set the translation handle
- * to NULL
- */
-
-#define AP_PUSH_INPUTCONVERSION_STATE(_buff, _newx) \
- apr_xlate_t *saved_input_xlate; \
- ap_bgetopt(_buff, BO_RXLATE, &saved_input_xlate); \
- ap_bsetopt(_buff, BO_RXLATE, &(_newx))
-
-#define AP_POP_INPUTCONVERSION_STATE(_buff) \
- ap_bsetopt(_buff, BO_RXLATE, &saved_input_xlate)
-
-#define AP_PUSH_OUTPUTCONVERSION_STATE(_buff, _newx) \
- apr_xlate_t *saved_output_xlate; \
- ap_bgetopt(_buff, BO_WXLATE, &saved_output_xlate); \
- ap_bsetopt(_buff, BO_WXLATE, &(_newx))
-
-#define AP_POP_OUTPUTCONVERSION_STATE(_buff) \
- ap_bsetopt(_buff, BO_WXLATE, &saved_output_xlate)
-
#ifdef __cplusplus
}
#endif