Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DCE_SVC_DEBUG_ATLEAST(3dce) — DCE 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DCE_SVC_DEBUG_ATLEAST(3dce)  —  Subroutines

Name

DCE_SVC_DEBUG_ATLEAST − Macro to test a component’s serviceability debug level

Synopsis

#include <dce/dce.h> DCE_SVC_DEBUG_ATLEAST(
dce_svc_handle_t handle,
const unsigned32 table_index,
unsigned32 debug_level);

Parameters

Input

handleThe caller’s serviceability handle. 

table_indexThe subcomponent name (defined in the sams file) whose debug level is being tested. 

debug_levelThe 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_IS(3dce), DCE_SVC_LOG(3dce). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026