rtxDiag.h File Reference

Common runtime functions for diagnostic tracing and debugging. More...

#include <stdarg.h>
#include "rtxsrc/rtxContext.h"
#include "rtxsrc/rtxPrintToStream.h"

Go to the source code of this file.


Functions

EXTERNRT OSBOOL rtxDiagEnabled (OSCTXT *pctxt)
 This function is used to determine if diagnostic tracing is currently enabled for the specified context.
EXTERNRT OSBOOL rtxSetDiag (OSCTXT *pctxt, OSBOOL value)
 This function is used to turn diagnostic tracing on or off at run-time on a per-context basis.
EXTERNRT OSBOOL rtxSetGlobalDiag (OSBOOL value)
 This function is used to turn diagnostic tracing on or off at run-time on a global basis.
EXTERNRT void rtxDiagPrint (OSCTXT *pctxt, const char *fmtspec,...)
 This function is used to print a diagnostics message to stdout.
EXTERNRT void rtxDiagStream (OSCTXT *pctxt, const char *fmtspec,...)
 This function conditionally outputs diagnostic trace messages to an output stream defined within the context.
EXTERNRT void rtxDiagHexDump (OSCTXT *pctxt, const OSOCTET *data, OSUINT32 numocts)
 This function is used to print a diagnostics hex dump of a section of memory.
EXTERNRT void rtxDiagStreamHexDump (OSCTXT *pctxt, const OSOCTET *data, OSUINT32 numocts)
 This function is used to print a diagnostics hex dump of a section of memory to a print stream.
EXTERNRT void rtxDiagPrintChars (OSCTXT *pctxt, const char *data, OSUINT32 nchars)
 This function is used to print a given number of characters to standard output.
EXTERNRT void rtxDiagStreamPrintChars (OSCTXT *pctxt, const char *data, OSUINT32 nchars)
 This function is used to print a given number of characters to a print stream.
EXTERNRT void rtxDiagSetTraceLevel (OSCTXT *pctxt, OSRTDiagTraceLevel level)
 This function is used to set the maximum trace level for diagnostic trace messages.

Detailed Description

Common runtime functions for diagnostic tracing and debugging.

Definition in file rtxDiag.h.