Sun Directory Server Enterprise Edition 7.0 Developer's Guide

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 parameter:

op

The operation of which you wish to get the type.

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 will return one of the following operation types:

See Also

slapi_pblock_get()