mirror of
https://github.com/php/php-src.git
synced 2026-04-11 18:13:00 +02:00
Forgot those constants.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user