diff options
author | foobar <sniper@php.net> | 2000-07-22 00:34:22 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2000-07-22 00:34:22 +0000 |
commit | 01d5aec3aa12df5e3fb96c27d884448cfde76a57 (patch) | |
tree | 053f4df4dde03375d94be032e3fc8483523c3139 | |
parent | eb8a55893d67e41b53e8c868a19e6c7d36be5d02 (diff) | |
download | php-git-01d5aec3aa12df5e3fb96c27d884448cfde76a57.tar.gz |
Forgot those constants.
-rw-r--r-- | ext/ldap/ldap.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c index 5f47fd9dee..6ee4e1cb09 100644 --- a/ext/ldap/ldap.c +++ b/ext/ldap/ldap.c @@ -139,6 +139,12 @@ PHP_MINIT_FUNCTION(ldap) REGISTER_INI_ENTRIES(); + /* Consts to be used with deref-parameter in php_ldap_do_search() */ + REGISTER_MAIN_LONG_CONSTANT("LDAP_DEREF_NEVER", LDAP_DEREF_NEVER, CONST_PERSISTENT | CONST_CS); + REGISTER_MAIN_LONG_CONSTANT("LDAP_DEREF_SEARCHING", LDAP_DEREF_SEARCHING, CONST_PERSISTENT | CONST_CS); + REGISTER_MAIN_LONG_CONSTANT("LDAP_DEREF_FINDING", LDAP_DEREF_FINDING, CONST_PERSISTENT | CONST_CS); + REGISTER_MAIN_LONG_CONSTANT("LDAP_DEREF_ALWAYS", LDAP_DEREF_ALWAYS, CONST_PERSISTENT | CONST_CS); + le_result = register_list_destructors(_free_ldap_result, NULL); le_link = register_list_destructors(_close_ldap_link, NULL); |