1 #include <bindings.dsl.h>
4 module Bindings.APR.Shm where
7 import Bindings.APR.ErrNo
8 import Bindings.APR.Pools
12 #ccall apr_shm_create , Ptr (Ptr <apr_shm_t>) -> <apr_size_t> -> Ptr CChar -> Ptr <apr_pool_t> -> IO <apr_status_t>
13 #ccall apr_shm_remove , Ptr CChar -> Ptr <apr_pool_t> -> IO <apr_status_t>
14 #ccall apr_shm_destroy , Ptr <apr_shm_t> -> IO <apr_status_t>
15 #ccall apr_shm_attach , Ptr (Ptr <apr_shm_t>) -> Ptr CChar -> Ptr <apr_pool_t> -> IO <apr_status_t>
16 #ccall apr_shm_detach , Ptr <apr_shm_t> -> IO <apr_status_t>
17 #ccall apr_shm_baseaddr_get, Ptr <apr_shm_t> -> IO (Ptr ())
18 #ccall apr_shm_size_get , Ptr <apr_shm_t> -> IO <apr_size_t>
20 #ccall apr_shm_pool_get , Ptr <apr_shm_t> -> IO (Ptr <apr_pool_t>)