X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=bindings-apr-util.git;a=blobdiff_plain;f=Bindings%2FAPR%2FSHA1.hsc;fp=Bindings%2FAPR%2FSHA1.hsc;h=cf9d7cfa626b0e553789f1e7a9bc1fe053caaa11;hp=0000000000000000000000000000000000000000;hb=4975306385f041ebb0f22e1abbea5dc445b338af;hpb=825ad4620a5166cccbf7aec2f5fd17d66531afc4 diff --git a/Bindings/APR/SHA1.hsc b/Bindings/APR/SHA1.hsc new file mode 100644 index 0000000..cf9d7cf --- /dev/null +++ b/Bindings/APR/SHA1.hsc @@ -0,0 +1,26 @@ +#include +#include + +module Bindings.APR.SHA1 where +#strict_import +import Bindings.APR + +#num APR_SHA1_DIGESTSIZE + +#globalarray APR_SHA1_ID, CChar + +#num APR_SHA1PW_IDLEN + +#starttype struct apr_sha1_ctx_t +# array_field digest , +# field count_lo, +# field count_hi, +# array_field data , +# field local , CInt +#stoptype + +#ccall apr_sha1_base64 , Ptr CChar -> CInt -> Ptr CChar -> IO () +#ccall apr_sha1_init , Ptr -> IO () +#ccall apr_sha1_update , Ptr -> Ptr CChar -> CUInt -> IO () +#ccall apr_sha1_update_binary, Ptr -> Ptr CUInt -> CUInt -> IO () +#ccall apr_sha1_final , Ptr CUChar -> Ptr -> IO ()