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.
Defines | |
| #define | RTDIAG1(pctxt, msg) |
| #define | RTDIAG2(pctxt, msg, a) |
| #define | RTDIAG3(pctxt, msg, a, b) |
| #define | RTDIAG4(pctxt, msg, a, b, c) |
| #define | RTDIAG5(pctxt, msg, a, b, c, d) |
| #define | RTDIAGU(pctxt, ucstr) |
| #define | RTHEXDUMP(pctxt, buffer, numocts) |
| #define | RTDIAGCHARS(pctxt, buf, nchars) |
| #define | RTDIAGSTRM2(pctxt, msg) |
| #define | RTDIAGSTRM3(pctxt, msg, a) |
| #define | RTDIAGSTRM4(pctxt, msg, a, b) |
| #define | RTDIAGSTRM5(pctxt, msg, a, b, c) |
| #define | RTHEXDUMPSTRM(pctxt, buffer, numocts) |
| #define | RTDIAGSCHARS(pctxt, buf, nchars) |
Functions | |
| OSBOOL | rtxDiagEnabled (OSCTXT *pctxt) |
| This function is used to determine if diagnostic tracing is currently enabled for the specified context. | |
| 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. | |
| OSBOOL | rtxSetGlobalDiag (OSBOOL value) |
| This function is used to turn diagnostic tracing on or off at run-time on a global basis. | |
| void | rtxDiagPrint (OSCTXT *pctxt, const char *fmtspec,...) |
This function is used to print a diagnostics message to stdout. | |
| void | rtxDiagStream (OSCTXT *pctxt, const char *fmtspec,...) |
| This function conditionally outputs diagnostic trace messages to an output stream defined within the context. | |
| void | rtxDiagHexDump (OSCTXT *pctxt, const OSOCTET *data, OSUINT32 numocts) |
| This function is used to print a diagnostics hex dump of a section of memory. | |
| 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. | |
| void | rtxDiagPrintChars (OSCTXT *pctxt, const char *data, OSUINT32 nchars) |
| This function is used to print a given number of characters to standard output. | |
| void | rtxDiagStreamPrintChars (OSCTXT *pctxt, const char *data, OSUINT32 nchars) |
| This function is used to print a given number of characters to a print stream. | |
Detailed Description
Common runtime functions for diagnostic tracing and debugging.
Definition in file rtxDiag.h.
