This function takes the following parameters:
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.