XBinder
Version 2.6.x
|
Common runtime functions for diagnostic tracing and debugging. More...
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. More... | |
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. More... | |
EXTERNRT OSBOOL | rtxSetGlobalDiag (OSBOOL value) |
This function is used to turn diagnostic tracing on or off at run-time on a global basis. More... | |
EXTERNRT void | rtxDiagPrint (OSCTXT *pctxt, const char *fmtspec,...) |
This function is used to print a diagnostics message to stdout . More... | |
EXTERNRT void | rtxDiagStream (OSCTXT *pctxt, const char *fmtspec,...) |
This function conditionally outputs diagnostic trace messages to an output stream defined within the context. More... | |
EXTERNRT void | rtxDiagHexDump (OSCTXT *pctxt, const OSOCTET *data, size_t numocts) |
This function is used to print a diagnostics hex dump of a section of memory. More... | |
EXTERNRT void | rtxDiagStreamHexDump (OSCTXT *pctxt, const OSOCTET *data, size_t numocts) |
This function is used to print a diagnostics hex dump of a section of memory to a print stream. More... | |
EXTERNRT void | rtxDiagPrintChars (OSCTXT *pctxt, const char *data, size_t nchars) |
This function is used to print a given number of characters to standard output. More... | |
EXTERNRT void | rtxDiagStreamPrintChars (OSCTXT *pctxt, const char *data, size_t nchars) |
This function is used to print a given number of characters to a print stream. More... | |
EXTERNRT void | rtxDiagStreamPrintBits (OSCTXT *pctxt, const char *descr, const OSOCTET *data, size_t bitIndex, size_t nbits) |
This function is used to print a given number of bits as '1' or '0' values to a print stream. More... | |
EXTERNRT void | rtxDiagSetTraceLevel (OSCTXT *pctxt, OSRTDiagTraceLevel level) |
This function is used to set the maximum trace level for diagnostic trace messages. More... | |
EXTERNRT OSBOOL | rtxDiagTraceLevelEnabled (OSCTXT *pctxt, OSRTDiagTraceLevel level) |
This function tests if a given trace level is enabled. More... | |
Common runtime functions for diagnostic tracing and debugging.
Definition in file rtxDiag.h.