From: PHO Date: Tue, 21 Sep 2010 06:07:40 +0000 (+0900) Subject: Bindings.APR.MD5 X-Git-Tag: RELEASE-0.1~10 X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=55a632d352415ddc4e02001529b7e94f37ce32f5;p=bindings-apr-util.git Bindings.APR.MD5 --- diff --git a/Bindings/APR/MD5.hsc b/Bindings/APR/MD5.hsc new file mode 100644 index 0000000..0e5e872 --- /dev/null +++ b/Bindings/APR/MD5.hsc @@ -0,0 +1,25 @@ +#include +#include + +module Bindings.APR.MD5 where +#strict_import +import Bindings.APR +import Bindings.APR.ErrNo +import Bindings.APR.XLate + +#num APR_MD5_DIGESTSIZE + +#starttype struct apr_md5_ctx_t +# array_field state , +# array_field count , +# array_field buffer, CUChar +# field xlate , Ptr +#stoptype + +#ccall apr_md5_init , Ptr -> IO +#ccall apr_md5_set_xlate, Ptr -> Ptr -> IO +#ccall apr_md5_update , Ptr -> Ptr () -> -> IO +#ccall apr_md5_final , Ptr CUChar -> Ptr -> IO +#ccall apr_md5 , Ptr CUChar -> Ptr () -> -> IO +#ccall apr_md5_encode , Ptr CChar -> Ptr CChar -> Ptr CChar -> -> IO +#ccall apr_password_validate, Ptr CChar -> Ptr CChar -> IO diff --git a/bindings-apr-util.cabal b/bindings-apr-util.cabal index f8e900e..496cf69 100644 --- a/bindings-apr-util.cabal +++ b/bindings-apr-util.cabal @@ -43,6 +43,7 @@ Library Bindings.APR.LDAP.Rebind Bindings.APR.LDAP.URL Bindings.APR.MD4 + Bindings.APR.MD5 Bindings.APR.XLate C-Sources: