]> gitweb @ CieloNegro.org - bindings-apr-util.git/blobdiff - Bindings/APR/RMM.hsc
Bindings.APR.RMM
[bindings-apr-util.git] / Bindings / APR / RMM.hsc
diff --git a/Bindings/APR/RMM.hsc b/Bindings/APR/RMM.hsc
new file mode 100644 (file)
index 0000000..7eb27c5
--- /dev/null
@@ -0,0 +1,24 @@
+#include <bindings.dsl.h>
+#include <apr_rmm.h>
+
+module Bindings.APR.RMM where
+#strict_import
+import Bindings.APR
+import Bindings.APR.AnyLock
+import Bindings.APR.ErrNo
+import Bindings.APR.Pools
+
+#opaque_t apr_rmm_t
+#integral_t apr_rmm_off_t
+
+#ccall apr_rmm_init    , Ptr (Ptr <apr_rmm_t>) -> Ptr <apr_anylock_t> -> Ptr () -> <apr_size_t> -> Ptr <apr_pool_t> -> IO <apr_status_t>
+#ccall apr_rmm_destroy , Ptr <apr_rmm_t> -> IO <apr_status_t>
+#ccall apr_rmm_attach  , Ptr (Ptr <apr_rmm_t>) -> Ptr <apr_anylock_t> -> Ptr () -> Ptr <apr_pool_t> -> IO <apr_status_t>
+#ccall apr_rmm_detach  , Ptr <apr_rmm_t> -> IO <apr_status_t>
+#ccall apr_rmm_malloc  , Ptr <apr_rmm_t> -> <apr_size_t> -> IO <apr_rmm_off_t>
+#ccall apr_rmm_realloc , Ptr <apr_rmm_t> -> Ptr () -> <apr_size_t> -> IO <apr_rmm_off_t>
+#ccall apr_rmm_calloc  , Ptr <apr_rmm_t> -> <apr_size_t> -> IO <apr_rmm_off_t>
+#ccall apr_rmm_free    , Ptr <apr_rmm_t> -> <apr_rmm_off_t> -> IO <apr_status_t>
+#ccall apr_rmm_addr_get, Ptr <apr_rmm_t> -> <apr_rmm_off_t> -> IO (Ptr ())
+#ccall apr_rmm_offset_get  , Ptr <apr_rmm_t> -> Ptr () -> IO <apr_rmm_off_t>
+#ccall apr_rmm_overhead_get, CInt -> IO <apr_size_t>