Functions for Sending Entries and Results to the Client
Parameters
This function takes the following parameters:
pb
e
ectrls
attrs
attrsonly
Returns
This function returns one of the following values:
•
0
•
1
sent).
•
-1
Description
Call
to the client.
attrs
value is equivalent to the
attrsonly
attribute types and their values:
•
Pass 0 for this parameter if you want to send both the attribute types and
values to the client.
•
Pass 1 for this parameter if you want to send only the attribute types (not the
attribute values) to the client.
This value is equivalent to the
parameter block.
432
Netscape Directory Server Plug-In Programmer's Guide • January 2002
Parameter block.
Pointer to the Slapi_Entry structure representing the entry
that you want to send back to the client.
Pointer to the array of LDAPControl structures representing
the controls associated with the search request.
Attribute types specified in the LDAP search request
Specifies whether or not the attribute values should be sent back
with the result.
• If 0, the values are included.
• If 1, the values are not included.
if successful.
if the entry is not sent (for example, if access control did not allow it to be
if an error occurs.
slapi_send_ldap_search_entry()
is the array of attribute types that you want to send from the entry. This
specifies whether you want to send only the attribute types or the
to send an entry found by a search back
SLAPI_SEARCH_ATTRS
SLAPI_SEARCH_ATTRSONLY
parameter in the parameter block.
parameter in the
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN and is the answer not in the manual?
Questions and answers