Functions for Monitoring Operations
420
Netscape Directory Server Plug-In Programmer’s Guide • December 2003
slapi_op_get_type()
Gets the type of a
Slapi_Operation
.
Syntax
#include “slapi-plugin.h”
unsigned long slapi_op_get_type(Slapi_Operation * op);
Parameters
This function takes the following parameters:
Description
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);
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()
op
The operation of which you wish to get the type.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Page 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Page 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...