HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
27 Functions specific to extended operation
This chapter contains reference information on routines for dealing with extended operations.
Table 27-1 Extended operation routines
DescriptionFunction
Gets a copy of the object IDs (OIDs) of the extended operations.slapi_get_supported_extended_ops_copy()
27.1 slapi_get_supported_extended_ops_copy()
Gets a copy of the object IDs (OIDs) of the extended operations.
Description This function replaces the deprecated slapi_get_supported_extended_ops()
function from earlier releases as slapi_get_supported_extended_ops() was not
multi-thread safe.
This function gets a copy of the object IDs (OIDs) of the extended operations supported by the
server. You can register new extended operations by putting the OID in the
SLAPI_PLUGIN_EXT_OP_OIDLIST parameter and calling slapi_block_set().
Syntax
#include "slapi-plugin.h"
char **slapi_get_supported_extended_ops_copy ( void );
Parameters This function takes no parameters.
Returns This function returns a pointer to an array of the OIDs of the extended operations
supported by the server.
Memory concerns The array returned by this function should be freed by calling the
slapi_ch_array_free() function.
See also
“slapi_pblock_set()”
slapi_ch_array_free()
27.1 slapi_get_supported_extended_ops_copy() 247