X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=bindings-apr-util.git;a=blobdiff_plain;f=Bindings%2FAPR%2FLDAP%2FURL.hsc;fp=Bindings%2FAPR%2FLDAP%2FURL.hsc;h=ab15cf44c474edbc592008da5873d0d5de601f77;hp=0000000000000000000000000000000000000000;hb=c2eb5e1556aaff2501098944197ee80f0a15da14;hpb=bfb68098c8e938f51ad830957f4a704ef7680cfd diff --git a/Bindings/APR/LDAP/URL.hsc b/Bindings/APR/LDAP/URL.hsc new file mode 100644 index 0000000..ab15cf4 --- /dev/null +++ b/Bindings/APR/LDAP/URL.hsc @@ -0,0 +1,43 @@ +#include +#include +#include + +module Bindings.APR.LDAP.URL where +#strict_import +import Bindings.APR.LDAP +import Bindings.APR.Pools + +#if APR_HAS_LDAP + +# starttype struct apr_ldap_url_desc_t +# field lud_next , Ptr +# field lud_scheme, Ptr CChar +# field lud_host , Ptr CChar +# field lud_port , CInt +# field lud_dn , Ptr CChar +# field lud_attrs , Ptr (Ptr CChar) +# field lud_scope , CInt +# field lud_filter, Ptr CChar +# field lud_exts , Ptr (Ptr CChar) +# field lud_crit_exts, CInt +# stoptype + +# num APR_LDAP_URL_SUCCESS +# num APR_LDAP_URL_ERR_MEM +# num APR_LDAP_URL_ERR_PARAM +# num APR_LDAP_URL_ERR_BADSCHEME +# num APR_LDAP_URL_ERR_BADENCLOSURE +# num APR_LDAP_URL_ERR_BADURL +# num APR_LDAP_URL_ERR_BADHOST +# num APR_LDAP_URL_ERR_BADATTRS +# num APR_LDAP_URL_ERR_BADSCOPE +# num APR_LDAP_URL_ERR_BADFILTER +# num APR_LDAP_URL_ERR_BADEXTS + +# ccall apr_ldap_is_ldap_url , Ptr CChar -> IO CInt +# ccall apr_ldap_is_ldaps_url , Ptr CChar -> IO CInt +# ccall apr_ldap_is_ldapi_url , Ptr CChar -> IO CInt +# ccall apr_ldap_url_parse_ext, Ptr -> Ptr CChar -> Ptr (Ptr ) -> Ptr (Ptr ) -> IO CInt +# ccall apr_ldap_url_parse , Ptr -> Ptr CChar -> Ptr (Ptr ) -> Ptr (Ptr ) -> IO CInt + +#endif