1 #include <bindings.dsl.h>
2 #include <apr_ldap_init.h>
4 module Bindings.APR.LDAP.Init where
6 import Bindings.APR.LDAP
7 import Bindings.APR.Pools
11 # num APU_LDAP_INSUFFICIENT_ACCESS
12 # cinline APU_LDAP_SECURITY_ERROR, CInt -> IO CInt
14 # ccall apr_ldap_ssl_init , Ptr <apr_pool_t> -> Ptr CChar -> CInt -> Ptr (Ptr <apr_ldap_err_t>) -> IO CInt
15 # ccall apr_ldap_ssl_deinit, IO CInt
16 # ccall apr_ldap_init , Ptr <apr_pool_t> -> Ptr (Ptr <LDAP>) -> Ptr CChar -> CInt -> CInt -> Ptr (Ptr <apr_ldap_err_t>) -> IO CInt
17 # ccall apr_ldap_info , Ptr <apr_pool_t> -> Ptr (Ptr <apr_ldap_err_t>) -> IO CInt