summaryrefslogtreecommitdiff
path: root/ext/ldap/php_ldap.h
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-06-08 23:44:01 +0000
committerfoobar <sniper@php.net>2003-06-08 23:44:01 +0000
commitc0e4bfcae4626611efee8364a1b923d445e312cc (patch)
tree220fe41af858ca750e27b60de0a7c29ea743fa81 /ext/ldap/php_ldap.h
parentc15b8fb19ed0170cc92d1d258ea80b97a1ccf4f0 (diff)
downloadphp-git-c0e4bfcae4626611efee8364a1b923d445e312cc.tar.gz
- Added ldap_sasl_bind(). (Jani, peter_c60@hotmail.com)
Diffstat (limited to 'ext/ldap/php_ldap.h')
-rw-r--r--ext/ldap/php_ldap.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/ext/ldap/php_ldap.h b/ext/ldap/php_ldap.h
index 99bb9b7217..e367e2d48c 100644
--- a/ext/ldap/php_ldap.h
+++ b/ext/ldap/php_ldap.h
@@ -34,52 +34,43 @@ extern zend_module_entry ldap_module_entry;
/* LDAP functions */
PHP_MINIT_FUNCTION(ldap);
PHP_MSHUTDOWN_FUNCTION(ldap);
-
PHP_MINFO_FUNCTION(ldap);
PHP_FUNCTION(ldap_connect);
-
PHP_FUNCTION(ldap_bind);
+#ifdef HAVE_LDAP_SASL_INTERACTIVE_BIND_S
+PHP_FUNCTION(ldap_sasl_bind);
+#endif
PHP_FUNCTION(ldap_unbind);
-
PHP_FUNCTION(ldap_read);
PHP_FUNCTION(ldap_list);
PHP_FUNCTION(ldap_search);
-
PHP_FUNCTION(ldap_free_result);
PHP_FUNCTION(ldap_count_entries);
-
PHP_FUNCTION(ldap_first_entry);
PHP_FUNCTION(ldap_next_entry);
PHP_FUNCTION(ldap_get_entries);
PHP_FUNCTION(ldap_first_attribute);
PHP_FUNCTION(ldap_next_attribute);
PHP_FUNCTION(ldap_get_attributes);
-
PHP_FUNCTION(ldap_get_values);
PHP_FUNCTION(ldap_get_values_len);
-
PHP_FUNCTION(ber_free);
PHP_FUNCTION(ldap_get_dn);
PHP_FUNCTION(ldap_explode_dn);
PHP_FUNCTION(ldap_dn2ufn);
-
PHP_FUNCTION(ldap_add);
PHP_FUNCTION(ldap_delete);
-
PHP_FUNCTION(ldap_mod_add);
PHP_FUNCTION(ldap_mod_replace);
PHP_FUNCTION(ldap_mod_del);
-
PHP_FUNCTION(ldap_errno);
PHP_FUNCTION(ldap_err2str);
PHP_FUNCTION(ldap_error);
-
PHP_FUNCTION(ldap_compare);
-
PHP_FUNCTION(ldap_sort);
-#if ( LDAP_API_VERSION > 2000 ) || HAVE_NSLDAP
+#if (LDAP_API_VERSION > 2000) || HAVE_NSLDAP
PHP_FUNCTION(ldap_get_option);
PHP_FUNCTION(ldap_set_option);
PHP_FUNCTION(ldap_parse_result);