[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: API Programming questions



Jody Hagins writes:
>> It's not documented, but
>>     int fd;
>>     ldap_get_option(ld, LDAP_OPT_DESC, &fd);
>> reads the file descriptor.
> 
> Does undocumented mean "accidentally undocumented so go ahead and use
> it"

Yes.  And feel free to write the missing manpage and submit it for
inclusion in OpenLDAP:-)

Unless your code is intended to work with other LDAP implementations
than OpenLDAP.  It's an extension, and I expect it's a fairly common
one, but it need not exist in other LDAP implementations.

-- 
Hallvard