X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=bindings-apr-util.git;a=blobdiff_plain;f=Bindings%2FAPR%2FMD5.hsc;fp=Bindings%2FAPR%2FMD5.hsc;h=0e5e872d55bdda6893a402bf8d24586da327cdce;hp=0000000000000000000000000000000000000000;hb=55a632d352415ddc4e02001529b7e94f37ce32f5;hpb=468cc5fe8177261bc46c989e885ac96ab40a2345 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