{-# LINE 1 "Bindings/APR/Base64.hsc" #-}

{-# LINE 2 "Bindings/APR/Base64.hsc" #-}

{-# LINE 3 "Bindings/APR/Base64.hsc" #-}

module Bindings.APR.Base64 where
import Foreign.Ptr (Ptr,FunPtr,plusPtr)
import Foreign.Ptr (wordPtrToPtr,castPtrToFunPtr)
import Foreign.Storable
import Foreign.C.Types
import Foreign.C.String (CString,CStringLen,CWString,CWStringLen)
import Foreign.Marshal.Alloc (alloca)
import Foreign.Marshal.Array (peekArray,pokeArray)
import Data.Int
import Data.Word

{-# LINE 6 "Bindings/APR/Base64.hsc" #-}

foreign import ccall "apr_base64_encode_len" c'apr_base64_encode_len
  :: CInt -> IO CInt
foreign import ccall "&apr_base64_encode_len" p'apr_base64_encode_len
  :: FunPtr (CInt -> IO CInt)

{-# LINE 8 "Bindings/APR/Base64.hsc" #-}
foreign import ccall "apr_base64_encode" c'apr_base64_encode
  :: Ptr CChar -> Ptr CChar -> CInt -> IO CInt
foreign import ccall "&apr_base64_encode" p'apr_base64_encode
  :: FunPtr (Ptr CChar -> Ptr CChar -> CInt -> IO CInt)

{-# LINE 9 "Bindings/APR/Base64.hsc" #-}
foreign import ccall "apr_base64_encode_binary" c'apr_base64_encode_binary
  :: Ptr CChar -> Ptr CUChar -> CInt -> IO CInt
foreign import ccall "&apr_base64_encode_binary" p'apr_base64_encode_binary
  :: FunPtr (Ptr CChar -> Ptr CUChar -> CInt -> IO CInt)

{-# LINE 10 "Bindings/APR/Base64.hsc" #-}
foreign import ccall "apr_base64_decode_len" c'apr_base64_decode_len
  :: Ptr CChar -> IO CInt
foreign import ccall "&apr_base64_decode_len" p'apr_base64_decode_len
  :: FunPtr (Ptr CChar -> IO CInt)

{-# LINE 11 "Bindings/APR/Base64.hsc" #-}
foreign import ccall "apr_base64_decode" c'apr_base64_decode
  :: Ptr CChar -> Ptr CChar -> IO CInt
foreign import ccall "&apr_base64_decode" p'apr_base64_decode
  :: FunPtr (Ptr CChar -> Ptr CChar -> IO CInt)

{-# LINE 12 "Bindings/APR/Base64.hsc" #-}
foreign import ccall "apr_base64_decode_binary" c'apr_base64_decode_binary
  :: Ptr CUChar -> Ptr CChar -> IO CInt
foreign import ccall "&apr_base64_decode_binary" p'apr_base64_decode_binary
  :: FunPtr (Ptr CUChar -> Ptr CChar -> IO CInt)

{-# LINE 13 "Bindings/APR/Base64.hsc" #-}