summaryrefslogtreecommitdiff
path: root/include/util_ebcdic.h
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2014-11-01 09:19:17 +0000
committerChristophe Jaillet <jailletc36@apache.org>2014-11-01 09:19:17 +0000
commit763444526cbca0a6f69442d8d0dd76329d60c643 (patch)
tree92d6ef805b3740b28fa60af45523746805a65983 /include/util_ebcdic.h
parent39f2f91dba078ee500d15296349864c57a088bea (diff)
downloadhttpd-763444526cbca0a6f69442d8d0dd76329d60c643.tar.gz
Merge r1611858, r1611908, r1611916 from trunk
doc: improve doxygen output for util_ebcdic.h and util_charset.h. Submitted by: jailletc36 Reviewed by: jailletc36, rjung, ylavic Backported by: jailletc36 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1635905 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/util_ebcdic.h')
-rw-r--r--include/util_ebcdic.h28
1 files changed, 18 insertions, 10 deletions
diff --git a/include/util_ebcdic.h b/include/util_ebcdic.h
index fe35e418ad..1457605677 100644
--- a/include/util_ebcdic.h
+++ b/include/util_ebcdic.h
@@ -35,35 +35,43 @@ extern "C" {
#include "httpd.h"
#include "util_charset.h"
-#if APR_CHARSET_EBCDIC
+#if APR_CHARSET_EBCDIC || defined(DOXYGEN)
/**
- * Setup all of the global translation handlers
- * @param pool pool to allocate out of
+ * Setup all of the global translation handlers.
+ * @param pool The pool to allocate out of.
+ * @note On non-EBCDIC system, this function does <b>not</b> exist.
+ * So, its use should be guarded by \#if APR_CHARSET_EBCDIC.
*/
apr_status_t ap_init_ebcdic(apr_pool_t *pool);
/**
* Convert protocol data from the implementation character
* set to ASCII.
- * @param buffer buffer to translate
- * @param len number of bytes to translate
+ * @param buffer Buffer to translate.
+ * @param len Number of bytes to translate.
+ * @note On non-EBCDIC system, this function is replaced by an
+ * empty macro.
*/
void ap_xlate_proto_to_ascii(char *buffer, apr_size_t len);
/**
* Convert protocol data to the implementation character
* set from ASCII.
- * @param buffer buffer to translate
- * @param len number of bytes to translate
+ * @param buffer Buffer to translate.
+ * @param len Number of bytes to translate.
+ * @note On non-EBCDIC system, this function is replaced by an
+ * empty macro.
*/
void ap_xlate_proto_from_ascii(char *buffer, apr_size_t len);
/**
- * Convert protocol data from the implementation charater
+ * Convert protocol data from the implementation character
* set to ASCII, then send it.
- * @param r the current request
- * @param ... the strings to write, followed by a NULL pointer
+ * @param r The current request.
+ * @param ... The strings to write, followed by a NULL pointer.
+ * @note On non-EBCDIC system, this function is replaced by a call to
+ * #ap_rvputs.
*/
int ap_rvputs_proto_in_ascii(request_rec *r, ...);