Lines Matching refs:result

30  *  result.c - wait for an ldap result
47 int do_abandon_check, LDAPMessage **result );
51 struct timeval *timeout, LDAPMessage **result );
53 LDAPMessage **result );
68 * ldap_result - wait for an ldap result response to a message from the
75 * ldap result). The type of the first message received is returned.
79 * ldap_result( s, msgid, all, timeout, result )
88 LDAPMessage **result
101 rc = nsldapi_result_nolock(ld, msgid, all, 1, timeout, result);
111 struct timeval *timeout, LDAPMessage **result )
125 if ( result == NULL ) {
130 if ( check_response_queue( ld, msgid, all, 1, result ) != 0 ) {
132 rc = (*result)->lm_msgtype;
135 result );
142 !((*result)->lm_fromcache )) {
143 ldap_memcache_append( ld, (*result)->lm_msgid,
144 (all || NSLDAPI_IS_SEARCH_RESULT( rc )), *result );
157 * message is dequeued and assigned to *result.
159 * If not, *result is set to NULL and this function returns 0.
163 LDAPMessage **result )
171 *result = NULL;
219 * if we did not find a message OR if the one we found is a result for
262 *result = lm;
266 return( 1 ); /* a message was found and returned in *result */
272 struct timeval *timeout, LDAPMessage **result )
298 rc = (ld->ld_cache_result)( ld, msgid, all, timeout, result );
362 lc, result );
413 lc->lconn_sb, lc, result );
446 * referrals and as a result the message we are looking
453 check_response_queue( ld, msgid, all, 0, result ) != 0 ) {
455 rc = (*result)->lm_msgtype;
494 LDAPMessage **result )
615 * status based on the result of the operation.
660 * 3) we have received a result for the request (i.e.,
729 *result = new;
755 *result = new;
781 * tmp points to the search result.
792 * If this is a manufactured result message and a result is already
794 * our new result. This is necessary so we don't end up returning
795 * more than one result.
800 * the result is the only thing in the chain... replace it.
821 * entries or references are also present, so the result
831 * the result is the only thing in the chain... add before it.
882 *result = l;
971 "check_for_refs: new result: msgid %d, res_errno %d, ",
1045 LDAPDebug( LDAP_DEBUG_TRACE, "result lderrno %d, error <%s>, matched <%s>\n",
1297 nsldapi_post_result( LDAP *ld, int msgid, LDAPMessage *result )
1302 "nsldapi_post_result(ld=0x%x, msgid=%d, result=0x%x)\n",
1303 ld, msgid, result );
1336 * our pending result list.
1349 newlp->lp_result = result;
1358 * Wake up a thread that is waiting for this result.
1361 lp->lp_result = result;