ldap_plugin_pblock_set()

The ldap_plugin_pblock_set API sets the value that is associated with the specified pblock tag.

Syntax

#include "ldap.h"
int ldap_plugin_pblock_set( LDAP_PBlock *pb, int arg, void *value );

Parameters

pb
Specifies the address of a pblock.
arg
Specifies the tag or ID of the tag-value pair that you want to set in the pblock.
value
Specifies a pointer to the value that you want to set in the parameter block.

Returns

Returns 0 if successful, or -1 if an error occurs.