Lines Matching refs:res
38 ldap_first_reference( LDAP *ld, LDAPMessage *res )
40 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || res == NULLMSG ) {
44 if ( res->lm_msgtype == LDAP_RES_SEARCH_REFERENCE ) {
45 return( res );
48 return( ldap_next_reference( ld, res ));
72 ldap_count_references( LDAP *ld, LDAPMessage *res )
80 for ( i = 0; res != NULL; res = res->lm_chain ) {
81 if ( res->lm_msgtype == LDAP_RES_SEARCH_REFERENCE ) {
173 char ** ldap_get_reference_urls(LDAP *ld, LDAPMessage *res)
180 if (res == NULL){
184 tmp = *res->lm_ber; /* struct copy */