]> gitweb @ CieloNegro.org - bindings-apr-util.git/blob - Bindings/APR/RMM.hsc
Bindings.APR.RMM
[bindings-apr-util.git] / Bindings / APR / RMM.hsc
1 #include <bindings.dsl.h>
2 #include <apr_rmm.h>
3
4 module Bindings.APR.RMM where
5 #strict_import
6 import Bindings.APR
7 import Bindings.APR.AnyLock
8 import Bindings.APR.ErrNo
9 import Bindings.APR.Pools
10
11 #opaque_t apr_rmm_t
12 #integral_t apr_rmm_off_t
13
14 #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>
15 #ccall apr_rmm_destroy , Ptr <apr_rmm_t> -> IO <apr_status_t>
16 #ccall apr_rmm_attach  , Ptr (Ptr <apr_rmm_t>) -> Ptr <apr_anylock_t> -> Ptr () -> Ptr <apr_pool_t> -> IO <apr_status_t>
17 #ccall apr_rmm_detach  , Ptr <apr_rmm_t> -> IO <apr_status_t>
18 #ccall apr_rmm_malloc  , Ptr <apr_rmm_t> -> <apr_size_t> -> IO <apr_rmm_off_t>
19 #ccall apr_rmm_realloc , Ptr <apr_rmm_t> -> Ptr () -> <apr_size_t> -> IO <apr_rmm_off_t>
20 #ccall apr_rmm_calloc  , Ptr <apr_rmm_t> -> <apr_size_t> -> IO <apr_rmm_off_t>
21 #ccall apr_rmm_free    , Ptr <apr_rmm_t> -> <apr_rmm_off_t> -> IO <apr_status_t>
22 #ccall apr_rmm_addr_get, Ptr <apr_rmm_t> -> <apr_rmm_off_t> -> IO (Ptr ())
23 #ccall apr_rmm_offset_get  , Ptr <apr_rmm_t> -> Ptr () -> IO <apr_rmm_off_t>
24 #ccall apr_rmm_overhead_get, CInt -> IO <apr_size_t>