HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
55.2 Parameters for executing the search
The following parameters are set by the front end and back end database as part of the process
of executing the search.
DescriptionData typeParameter ID
Set of search results.
void *SLAPI_SEARCH_RESULT_SET
Entry returned from iterating through the results set.
void *SLAPI_SEARCH_RESULT_ENTRY
Reserved for future use.
void *SLAPI_SEARCH_RESULT_ENTRY_EXT
Number of search results found.
intSLAPI_NENTRIES
Array of the URLs to other LDAP servers to which
the current server is referring the client.
struct berval **SLAPI_SEARCH_REFERRALS
See “Processing an LDAP search operation”, and “Iterating through candidates”, for more
information on these parameters.
55.3 Parameters for the search results
The entry and referrals options listed below are set/read by both the front end and back end
database while stepping through the search results.
Parameters that return data types The parameters listed below return data types.
DescriptionData typeParameter ID
Result code that was encountered during the search;
this corresponds to the resultCode field within an
LDAPResult message.
int *SLAPI_RESULT_CODE
The portion of the target DN that was matched; this
corresponds to the matchedDN field within an
LDAPResult message.
char *SLAPI_RESULT_MATCHED
The textual error message; this corresponds to the
errorMessage field within an LDAPResult
message.
char *SLAPI_RESULT_TEXT
A textual error message passed from internal
subsystems to a plug-in. Currently used by the
slapi_entry_schema_check() function to
provide extra explantory information when it returns
a nonzero value, when the schema check fails.
char *SLAPI_PB_RESULT_TEXT
402 Parameters for the search function