diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/apr_xlate.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/include/apr_xlate.h b/include/apr_xlate.h index df82e5201..fda8d6d5d 100644 --- a/include/apr_xlate.h +++ b/include/apr_xlate.h @@ -81,6 +81,8 @@ typedef void ap_xlate_t; #define ap_xlate_open(convset, topage, frompage, pool) APR_ENOTIMPL +#define ap_xlate_get_sb(convset, onoff) APR_ENOTIMPL + #define ap_xlate_conv_buffer(convset, inbuf, inbytes_left, outbuf, \ outbytes_left) APR_ENOTIMPL @@ -121,12 +123,27 @@ B<NOTE>: Specify APR_DEFAULT_CHARSET for one of the charset =cut */ ap_status_t ap_xlate_open(ap_xlate_t **convset, const char *topage, - const char *frompage, ap_pool_t *pool); + const char *frompage, ap_pool_t *pool); #define APR_DEFAULT_CHARSET NULL /* +=head1 ap_status_t ap_xlate_get_sb(ap_xlate_t *convset, int *onoff) + +B<Find out whether or not the specified conversion is single-byte-only.> + + arg 1) The handle allocated by ap_xlate_open, specifying the parameters + of conversion + arg 2) Output: whether or not the conversion is single-byte-only + +=cut + */ + +ap_status_t ap_xlate_get_sb(ap_xlate_t *convset, int *onoff); + +/* + =head1 ap_status_t ap_xlate_conv_buffer(ap_xlate_t *convset, const char *inbuf, ap_size_t *inbytes_left, char *outbuf, ap_size_t outbytes_left) B<Convert a buffer of text from one codepage to another.> |