]> gitweb @ CieloNegro.org - bindings-apr.git/blob - Bindings/APR/Shm.hsc
bindings.apr.inherit.h
[bindings-apr.git] / Bindings / APR / Shm.hsc
1 #include <bindings.dsl.h>
2 #include <apr_shm.h>
3 #include "bindings.apr.pools.h"
4
5 module Bindings.APR.Shm where
6 #strict_import
7 import Bindings.APR
8 import Bindings.APR.ErrNo
9 import Bindings.APR.Pools
10
11 #opaque_t apr_shm_t
12
13 #ccall apr_shm_create      , Ptr (Ptr <apr_shm_t>) -> <apr_size_t> -> Ptr CChar -> Ptr <apr_pool_t> -> IO <apr_status_t>
14 #ccall apr_shm_remove      , Ptr CChar -> Ptr <apr_pool_t> -> IO <apr_status_t>
15 #ccall apr_shm_destroy     , Ptr <apr_shm_t> -> IO <apr_status_t>
16 #ccall apr_shm_attach      , Ptr (Ptr <apr_shm_t>) -> Ptr CChar -> Ptr <apr_pool_t> -> IO <apr_status_t>
17 #ccall apr_shm_detach      , Ptr <apr_shm_t> -> IO <apr_status_t>
18 #ccall apr_shm_baseaddr_get, Ptr <apr_shm_t> -> IO (Ptr ())
19 #ccall apr_shm_size_get    , Ptr <apr_shm_t> -> IO <apr_size_t>
20
21 #apr_pool_accessor shm