Sun Java System Directory Server Enterprise Edition 6.3 Developer's Guide

Results

The following parameters allow you to access results through the parameter block.

Table 18–27 Result Parameters

Parameter ID  

Data Type  

Description  

SLAPI_ADD_RESCONTROL

LDAPControl *

Lets you add a control to the set of controls to send to the client. 

Use slapi_pblock_set() to add a control with this parameter.

SLAPI_RES_CONTROLS

LDAPControl **

Array of controls to send to client. 

If you use this with slapi_pblock_set() to change the set of controls to send to the client, you must retrieve and free the existing set of controls pointed to by SLAPI_RES_CONTROLS.

SLAPI_RESULT_CODE

int

Result code to send to client. 

SLAPI_RESULT_MATCHED

char *

Portion of target DN that matched when sending LDAP_NO_SUCH_OBJECT to the client.

SLAPI_RESULT_TEXT

char *

Message to send to client.