slapi_pblock_get()
slapi_pblock_get() receives the value
of a name-value pair from a parameter block.
- Syntax
#include "slapi-plugin.h" int slapi_pblock_get( Slapi_PBlock *pb, int arg, void *value );- Parameters
-
- pb
- A parameter block.
- arg
- A
pblockparameter 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 there is an error.