34.2. slapi_op_get_type()
This function returns the type of an Slapi_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);
#include "slapi-plugin.h" unsigned long slapi_op_get_type(Slapi_Operation * op);
This function takes the following parameter:
|
op
| The operation of which you wish to get the type. |
This function returns one of the following operation types:
SLAPI_OPERATION_BINDSLAPI_OPERATION_UNBINDSLAPI_OPERATION_SEARCHSLAPI_OPERATION_MODIFYSLAPI_OPERATION_ADDSLAPI_OPERATION_DELETESLAPI_OPERATION_MODDNSLAPI_OPERATION_MODRDNSLAPI_OPERATION_COMPARESLAPI_OPERATION_ABANDONSLAPI_OPERATION_EXTENDED

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.