PreviousNext

DCE_SVC_DEBUG_IS(3dce)

Macro to test a component's serviceability debug level

Synopsis

#include <dce/dce.h>

DCE_SVC_DEBUG_IS(

dce_svc_handle_t handle,
const unsigned32 table_index,
unsigned32 debug_level);

Parameters

Input

handle
The caller's serviceability handle.

table_index
The name of the sub-component name (defined in the sams file) whose debug level is to be tested.

debug_level
The serviceability debug level being tested.

Description
If serviceability debug code was enabled (by defining DCE_DEBUG) during compilation, the DCE_SVC_DEBUG_ATLEAST and DCE_SVC_DEBUG_IS macros can be used to test the debug level of a subcomponent (specified by table_index) for the specified handle. DCE_SVC_DEBUG_ATLEAST tests whether the debug level is at least at the specified level. DCE_SVC_DEBUG_IS tests for an exact match with the specified level. In either case, the specified level should be a number between 1 and 9.

Related Information
Functions: DCE_SVC_DEBUG(3dce)

DCE_SVC_DEBUG_ATLEAST(3dce)

DCE_SVC_LOG(3dce)