ldap_plugin_pblock_get()

The ldap_plugin_pblock_get() API returns the value that is associated with the specified pblock tag.

Syntax

#include "ldap.h"
int ldap_plugin_pblock_get( 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 obtain from the pblock.
value
Specifies a pointer to the address of the returned value.

Returns

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