version 1.47, 2000/06/23 23:40:40
|
version 1.48, 2000/07/04 19:49:01
|
Line 1
|
Line 1
|
/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.46 2000/06/16 18:00:21 kurt Exp $ */ |
/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.47 2000/06/23 23:40:40 kurt Exp $ */ |
/* |
/* |
* Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved. |
* Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved. |
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file |
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file |
Line 67 static void merge_error_info LDAP_P(( LD
|
Line 67 static void merge_error_info LDAP_P(( LD
|
|
|
/* |
/* |
* ldap_result - wait for an ldap result response to a message from the |
* ldap_result - wait for an ldap result response to a message from the |
* ldap server. If msgid is -1, any message will be accepted, otherwise |
* ldap server. If msgid is LDAP_RES_ANY (-1), any message will be |
* ldap_result will wait for a response with msgid. If all is 0 the |
* accepted. If msgid is LDAP_RES_UNSOLICITED (0), any unsolicited |
* first message with id msgid will be accepted, otherwise, ldap_result |
* message is accepted. Otherwise ldap_result will wait for a response |
* will wait for all responses with id msgid and then return a pointer to |
* with msgid. If all is LDAP_MSG_ONE (0) the first message with id |
* the entire list of messages. This is only useful for search responses, |
* msgid will be accepted, otherwise, ldap_result will wait for all |
* which can be of two message types (zero or more entries, followed by an |
* responses with id msgid and then return a pointer to the entire list |
|
* of messages. This is only useful for search responses, which can be |
|
* of two message types (zero or more entries, followed by an |
* ldap result). The type of the first message received is returned. |
* ldap result). The type of the first message received is returned. |
* When waiting, any messages that have been abandoned are discarded. |
* When waiting, any messages that have been abandoned are discarded. |
* |
* |