HELPLIB.HLB  —  DCE  DCE_INTRO, dce_svc_macros, DCE_SVC_DEBUG_IS
 NAME
   DCE_SVC_DEBUG_IS - 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
              DCE_SVC_DEBUG_ATLEAST
              DCE_SVC_LOG
Close Help