]> gitweb @ CieloNegro.org - bindings-apr.git/blob - Bindings/APR/DSO.hsc
more bindings
[bindings-apr.git] / Bindings / APR / DSO.hsc
1 #include <bindings.dsl.h>
2 #include <apr_dso.h>
3
4 module Bindings.APR.DSO where
5 #strict_import
6 import Bindings.APR
7 import Bindings.APR.ErrNo
8 import Bindings.APR.Pools
9
10 #if APR_HAS_DSO
11
12 #  opaque_t  apr_dso_handle_t
13 #  synonym_t apr_dso_handle_sym_t, Ptr ()
14
15 #  ccall apr_dso_load  , Ptr (Ptr <apr_dso_handle_t>) -> Ptr CChar -> Ptr <apr_pool_t> -> IO <apr_status_t>
16 #  ccall apr_dso_unload, Ptr <apr_dso_handle_t> -> IO <apr_status_t>
17 #  ccall apr_dso_sym   , Ptr <apr_dso_handle_sym_t> -> Ptr <apr_dso_handle_t> -> Ptr CChar -> IO <apr_status_t>
18 #  ccall apr_dso_error , Ptr <apr_dso_handle_t> -> Ptr CChar -> <apr_size_t> -> IO (Ptr CChar)
19
20 #endif