rtxDiag.h File Reference
#include <stdarg.h>
#include "rtxsrc/rtxContext.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) |
Enumerations | |
enum | OSRTDiagTraceLevel { OSRTDiagError, OSRTDiagWarning, OSRTDiagInfo, OSRTDiagDebug } |
Functions | |
OSBOOL | rtxDiagEnabled (OSCTXT *pctxt) |
OSBOOL | rtxSetDiag (OSCTXT *pctxt, OSBOOL value) |
OSBOOL | rtxSetGlobalDiag (OSBOOL value) |
void | rtxDiagPrint (OSCTXT *pctxt, const char *fmtspec,...) |
void | rtxDiagStream (OSCTXT *pctxt, const char *fmtspec,...) |
void | rtxDiagHexDump (OSCTXT *pctxt, const OSOCTET *data, size_t numocts) |
void | rtxDiagStreamHexDump (OSCTXT *pctxt, const OSOCTET *data, size_t numocts) |
void | rtxDiagPrintChars (OSCTXT *pctxt, const char *data, size_t nchars) |
void | rtxDiagStreamPrintChars (OSCTXT *pctxt, const char *data, size_t nchars) |
void | rtxDiagSetTraceLevel (OSCTXT *pctxt, OSRTDiagTraceLevel level) |
OSBOOL | rtxDiagTraceLevelEnabled (OSCTXT *pctxt, OSRTDiagTraceLevel level) |
Detailed Description
Common runtime functions for diagnostic tracing and debugging.