]> gitweb @ CieloNegro.org - bindings-apr-util.git/blobdiff - Bindings/APR/UUID.hsc
Bindings.APR.UUID
[bindings-apr-util.git] / Bindings / APR / UUID.hsc
diff --git a/Bindings/APR/UUID.hsc b/Bindings/APR/UUID.hsc
new file mode 100644 (file)
index 0000000..41208a8
--- /dev/null
@@ -0,0 +1,16 @@
+#include <bindings.dsl.h>
+#include <apr_uuid.h>
+
+module Bindings.APR.UUID where
+#strict_import
+import Bindings.APR.ErrNo
+
+#starttype apr_uuid_t
+#  array_field data, CUChar
+#stoptype
+
+#num APR_UUID_FORMATTED_LENGTH
+
+#ccall apr_uuid_get   , Ptr <apr_uuid_t> -> IO ()
+#ccall apr_uuid_format, Ptr CChar -> Ptr <apr_uuid_t> -> IO ()
+#ccall apr_uuid_parse , Ptr <apr_uuid_t> -> Ptr CChar -> IO <apr_status_t>