On Fri, Sep 05, 2025 at 03:26:28PM +0530, venugopal chinnakotla wrote:
> Hi Team,
> 
> We are working on migration of nsldap C sdk to OpenLDAP c sdk for our
> application client code. As part of this activity, replacing API one by one
> and also looking for constant replacement.
> 
> In NSLDAP C SDK: /* * Thread function callbacks (an API extension -- *
> LDAP_API_FEATURE_X_THREAD_FUNCTIONS). */ #define LDAP_OPT_THREAD_FN_PTRS
> 0x05 /* 5 - API extension */
> 
> Now, we are looking for similar functionality within OpenLDAP to use it in
> our client program. I Went through OpenLDAP documents and source code, but
> to my knowledge, did not get any equivalent one.
> 
> Could you please provide more details on this to achieve equivalent
> functionality of LDAP_OPT_THREAD_FN_PTRS with OpenLDAP?

Hi Venugopal,
in libldap, these functions are not runtime settable, the correct
implementation is selected at compile time based on the target
environment, usually PThreads or NT Threads.

Regards,

-- 
Ondřej Kuzník
Senior Software Engineer
Symas Corporation                       http://www.symas.com
Packaged, certified, and supported LDAP solutions powered by OpenLDAP

Reply via email to