Functions for Monitoring Operations
slapi_op_get_type()
Gets the type of a
Syntax
#include "slapi-plugin.h"
unsigned long slapi_op_get_type(Slapi_Operation * op);
Parameters
This function takes the following parameters:
op
Description
This function returns the type of an operation. The
be extracted from a
SLAPI_OPERATION
slapi_pblock_get (pb, SLAPI_OPERATION, &op);
Returns
This function returns one of the following operation types:
•
SLAPI_OPERATION_BIND
•
SLAPI_OPERATION_UNBIND
•
SLAPI_OPERATION_SEARCH
•
SLAPI_OPERATION_MODIFY
•
SLAPI_OPERATION_ADD
•
SLAPI_OPERATION_DELETE
•
SLAPI_OPERATION_MODDN
•
SLAPI_OPERATION_MODRDN
•
SLAPI_OPERATION_COMPARE
•
SLAPI_OPERATION_ABANDON
•
SLAPI_OPERATION_EXTENDED
See Also
slapi_pblock_get()
420
Netscape Directory Server Plug-In Programmer's Guide • December 2003
.
Slapi_Operation
The operation of which you wish to get the type.
structure using
pblock
parameter. For example:
Slapi_Operation
slapi_pblock_get()
structure can
with the
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - PLUG-IN and is the answer not in the manual?
Questions and answers