1 #include <bindings.dsl.h>
4 module Bindings.APR.XLate where
7 import Bindings.APR.ErrNo
8 import Bindings.APR.Pools
12 #ccall apr_xlate_open, Ptr (Ptr <apr_xlate_t>) -> Ptr CChar -> Ptr CChar -> Ptr <apr_pool_t> -> IO <apr_status_t>
14 #pointer APR_DEFAULT_CHARSET
15 #pointer APR_LOCALE_CHARSET
17 #ccall apr_xlate_sb_get , Ptr <apr_xlate_t> -> Ptr CInt -> IO <apr_status_t>
18 #ccall apr_xlate_conv_buffer, Ptr <apr_xlate_t> -> Ptr CChar -> Ptr <apr_size_t> -> Ptr CChar -> Ptr <apr_size_t> -> IO <apr_status_t>
21 # ccall apr_xlate_conv_char, Ptr <apr_xlate_t> -> CChar -> CChar -> IO <apr_status_t>
24 #ccall apr_xlate_conv_byte , Ptr <apr_xlate_t> -> CUChar -> IO <apr_int32_t>
25 #ccall apr_xlate_close , Ptr <apr_xlate_t> -> IO <apr_status_t>