18.7. slapi_seq_internal_callback_pb()

Description

This function performs internal sequential access operation.

Syntax

 

#include "slapi-plugin.h"
int slapi_seq_internal_callback_pb(Slapi_PBlock *pb, void *callback_data, 
 plugin_result_callback res_callback, plugin_search_entry_callback srch_callback, plugin_referral_entry_callback ref_callback);
Parameters

This function takes the following parameters:

pb Parameter block initialized with operation parameters. The easiest way to provide required parameters is by calling slapi_seq_internal_callback_pb() function. Parameters can also be set directly.
callback_data Data passed to the callback functions.
res_callback Function called once the search is complete.
srch_callback Function called for each entry returned.
ref_callback Function called for each referral returned.
Returns

This function returns 0 on success, -1 on error.