ietf
[Top] [All Lists]

LDAP Client API in C with Notification of the end of a request

2001-05-24 14:50:02
Hello,

I have to implement an LDAP client in C, which has to submit several LDAP
requests in parallel and consequently to process their responses
asynchronously.
Given the specific requirements of my application, the ideal situation for
this LDAP client would be to be notified when a request is completed (e.g.
when all searchResultEntries, searchResultReferences and searchResultDone of
a given search request are received). The notification could be the call of
a callback function with the messageId of the request as a parameter.

I looked at different LDAP Client APIs (OpenLDAP, Netscape SDK 4.1), but
there is no notion of "end-of-request" notifications. The only way to check
if a request is completed is to call the "ldap_result()" function for the
messageId of each outstanding request, in a waiting or polling mode.

Did I miss something in the LDAP client APIs above?
Does someone know another LDAP client API in C that would meet the
"end-of-request" notification requirement?
All remarks and suggestions are very welcome.

Thank you


Laurent



<Prev in Thread] Current Thread [Next in Thread>