diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2000-08-06 06:07:33 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2000-08-06 06:07:33 +0000 |
commit | 06b2035cc7444370e4ad913f25e400545915a743 (patch) | |
tree | 4f0eea47f7ec42ad43d4b3fad7f7d5907e416115 /i18n | |
parent | 6105382e1c48011d628cd0562e87471ca605e8cb (diff) | |
download | libapr-06b2035cc7444370e4ad913f25e400545915a743.tar.gz |
Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...
see src/lib/apr/apr_compat.h for most details.
Also a few minor nits to get Win32 to build.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60481 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'i18n')
-rw-r--r-- | i18n/unix/xlate.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/i18n/unix/xlate.c b/i18n/unix/xlate.c index 8af33873e..acd2e58c1 100644 --- a/i18n/unix/xlate.c +++ b/i18n/unix/xlate.c @@ -156,7 +156,7 @@ static const char *handle_special_names(const char *page) } } -static apr_status_t ap_xlate_cleanup(void *convset) +static apr_status_t apr_xlate_cleanup(void *convset) { #ifdef HAVE_ICONV apr_xlate_t *old = convset; @@ -203,8 +203,8 @@ static void check_sbcs(apr_xlate_t *convset) } #endif /* HAVE_ICONV */ -apr_status_t ap_xlate_open(apr_xlate_t **convset, const char *topage, - const char *frompage, apr_pool_t *pool) +apr_status_t apr_xlate_open(apr_xlate_t **convset, const char *topage, + const char *frompage, apr_pool_t *pool) { apr_status_t status; apr_xlate_t *new; @@ -248,7 +248,7 @@ apr_status_t ap_xlate_open(apr_xlate_t **convset, const char *topage, if (found) { *convset = new; - apr_register_cleanup(pool, (void *)new, ap_xlate_cleanup, + apr_register_cleanup(pool, (void *)new, apr_xlate_cleanup, apr_null_cleanup); status = APR_SUCCESS; } @@ -260,15 +260,15 @@ apr_status_t ap_xlate_open(apr_xlate_t **convset, const char *topage, return status; } -apr_status_t ap_xlate_get_sb(apr_xlate_t *convset, int *onoff) +apr_status_t apr_xlate_get_sb(apr_xlate_t *convset, int *onoff) { *onoff = convset->sbcs_table != NULL; return APR_SUCCESS; } -apr_status_t ap_xlate_conv_buffer(apr_xlate_t *convset, const char *inbuf, - apr_size_t *inbytes_left, char *outbuf, - apr_size_t *outbytes_left) +apr_status_t apr_xlate_conv_buffer(apr_xlate_t *convset, const char *inbuf, + apr_size_t *inbytes_left, char *outbuf, + apr_size_t *outbytes_left) { apr_status_t status = APR_SUCCESS; #ifdef HAVE_ICONV @@ -329,7 +329,7 @@ apr_status_t ap_xlate_conv_buffer(apr_xlate_t *convset, const char *inbuf, return status; } -apr_int32_t ap_xlate_conv_byte(apr_xlate_t *convset, unsigned char inchar) +apr_int32_t apr_xlate_conv_byte(apr_xlate_t *convset, unsigned char inchar) { if (convset->sbcs_table) { return convset->sbcs_table[inchar]; @@ -339,12 +339,12 @@ apr_int32_t ap_xlate_conv_byte(apr_xlate_t *convset, unsigned char inchar) } } -apr_status_t ap_xlate_close(apr_xlate_t *convset) +apr_status_t apr_xlate_close(apr_xlate_t *convset) { apr_status_t status; - if ((status = ap_xlate_cleanup(convset)) == APR_SUCCESS) { - apr_kill_cleanup(convset->pool, convset, ap_xlate_cleanup); + if ((status = apr_xlate_cleanup(convset)) == APR_SUCCESS) { + apr_kill_cleanup(convset->pool, convset, apr_xlate_cleanup); } return status; |