Chapter 27. Functions Specific to Extended Operation

This chapter contains reference information on routines for dealing with extended operations.

Table 27.1. Extended Operation Routines

Function Description
slapi_get_supported_extended_ops_copy() Gets a copy of the object IDs (OIDs) of the extended operations.

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.