Netscape DIRECTORY SERVER 6.01 - PLUG-IN Manual page 167

Table of Contents

Advertisement

err
matched
text
nentries
urls
Description
The
slapi_send_ldap_result()
codes back to the client. You can replace the function that sends LDAP result codes
to the client with your own function. To do this:
Write a function with the prototype specified by
1.
send_ldap_result_fn_ptr_t
In your plug-in initialization function, register your function by setting the
2.
SLAPI_PLUGIN_DB_RESULT_FN
of your function.
See
slapi_send_ldap_result()
sends LDAP result codes to clients.
See Also
slapi_send_ldap_result()
send_ldap_search_entry_fn_ptr_t
send_ldap_result_fn_ptr_t
you can write to send search results (entries found by a search) back to the client.
You can register your function so that it is called whenever the
slapi_send_ldap_search_entry()
LDAP result code that you want sent back to the client (for example,
LDAP_SUCCESS).
When sending back an LDAP_NO_SUCH_OBJECT result code, use this
argument to specify the portion of the target DN that could be
matched.
Error message that you want sent back to the client. Use NULL if you
do not want an error message sent back.
When sending back the result code for an LDAP search operation, use
this argument to specify the number of matching entries found.
When sending back an LDAP_PARTIAL_RESULTS result code to an
LDAP v2 client or an LDAP_REFERRAL result code to an LDAP v3
client, use this argument to specify the array of berval structures
containing the referral URLs.
function is responsible for sending LDAP result
.
parameter in the parameter block to the name
for information on the default function that
specifies the prototype for a callback function that
function is called.
Summary of Data Types and Structures
Chapter 13
Data Type and Structure Reference
167

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.01

Table of Contents