This function returns the type of an operation. The Slapi_Operation structure can be extracted from a pblock structure using slapi_pblock_get() with the Slapi_Operation parameter. For example:
slapi_pblock_get (pb, SLAPI_OPERATION, &op);