slapi_pblock_get_int()

slapi_pblock_get_int() gets an integer value from the parameter block.

Syntax
#include "slapi-plugin.h"
int slapi_pblock_get_int( Slapi_PBlock *pb, int arg, int *value );
Parameters
pb
A pointer to a parameter block from which the value is to be retrieved.
arg
A pblock parameter that represents the data you want to receive.
value
A pointer to the value retrieved from the parameter block.
Returns
If successful 0 is returned, -1 if an error occurs.