On Oct 21, 2011, at 3:37 AM, Hallvard B Furuseth wrote:
Khaled Blah writes:
I would like to ask whether there is a way which allows me to use the macro "LDAP_VALID" in my own code. I would like to be able to check an LDAP* handle for its validity before I use that handle on any of the LDAP operation functions.
You could call something which uses LDAP_VALID() but does nothing else.
ldap_get_option(3).
-- Kurt