Functions For Sending Entries And Results To The Client - Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual

Table of Contents

Advertisement

Functions for Sending Entries and Results to the Client

Functions for Sending Entries and Results to the
Client
This section contains reference information on routines for sending entries and
results to the client.
Table 15-26 Routines for Sending Entries and Results to Clients
Function
slapi_send_ldap_referral()
slapi_send_ldap_result()
slapi_send_ldap_search_entry()
slapi_send_ldap_referral()
Processes an entry's LDAP v3 referrals (which are found in the entry's
attribute). For LDAP v3 clients, this function sends the LDAP referrals back to the
client. For LDAP v2 clients, this function copies the referrals to an array of
structures that you can pass to
time.
Syntax
#include "slapi-plugin.h"
int slapi_send_ldap_referral( Slapi_PBlock *pb,
Slapi_Entry *e, struct berval **refs,
struct berval ***urls );
Parameters
This function takes the following parameters:
pb
e
refs
urls
476
Netscape Directory Server Plug-In Programmer's Guide • December 2003
Description
Processes an entry's LDAP v3 referrals.
Sends an LDAP result code back to the client.
Sends an entry found by a search back to the client.
slapi_send_ldap_result()
Parameter block.
Pointer to the Slapi_Entry structure representing the entry that you are
working with.
Pointer to the NULL-terminated array of berval structures containing the
LDAP v3 referrals (search result references) found in the entry.
Pointer to the array of berval structures used to collect LDAP referrals for
LDAP v2 clients.
ref
berval
function at a later

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents