52 #define RTDIAG1(pctxt,msg) rtxDiagPrint(pctxt,msg) 53 #define RTDIAG2(pctxt,msg,a) rtxDiagPrint(pctxt,msg,a) 54 #define RTDIAG3(pctxt,msg,a,b) rtxDiagPrint(pctxt,msg,a,b) 55 #define RTDIAG4(pctxt,msg,a,b,c) rtxDiagPrint(pctxt,msg,a,b,c) 56 #define RTDIAG5(pctxt,msg,a,b,c,d) rtxDiagPrint(pctxt,msg,a,b,c,d) 57 #define RTHEXDUMP(pctxt,buffer,numocts) rtxDiagHexDump(pctxt,buffer,numocts) 58 #define RTDIAGCHARS(pctxt,buf,nchars) rtxDiagPrintChars(pctxt,buf,nchars) 62 #define RTDIAGSTRM2(pctxt,msg) rtxDiagStream(pctxt,msg) 63 #define RTDIAGSTRM3(pctxt,msg,a) rtxDiagStream(pctxt,msg,a) 64 #define RTDIAGSTRM4(pctxt,msg,a,b) rtxDiagStream(pctxt,msg,a,b) 65 #define RTDIAGSTRM5(pctxt,msg,a,b,c) rtxDiagStream(pctxt,msg,a,b,c) 66 #define RTHEXDUMPSTRM(pctxt,buffer,numocts) \ 67 rtxDiagStreamHexDump(pctxt,buffer,numocts) 68 #define RTDIAGSCHARS(pctxt,buf,nchars) \ 69 rtxDiagStreamPrintChars(pctxt,buf,nchars) 73 #define RTDIAGSTRM2(pctxt,msg) rtxDiagPrint(pctxt,msg) 74 #define RTDIAGSTRM3(pctxt,msg,a) rtxDiagPrint(pctxt,msg,a) 75 #define RTDIAGSTRM4(pctxt,msg,a,b) rtxDiagPrint(pctxt,msg,a,b) 76 #define RTDIAGSTRM5(pctxt,msg,a,b,c) rtxDiagPrint(pctxt,msg,a,b,c) 77 #define RTHEXDUMPSTRM(pctxt,buffer,numocts) rtxDiagHexDump(pctxt,buffer,numocts) 78 #define RTDIAGSCHARS(pctxt,buf,nchars) rtxDiagPrintChars(pctxt,buf,nchars) 84 #define RTDIAG1(pctxt,msg) 85 #define RTDIAG2(pctxt,msg,a) 86 #define RTDIAG3(pctxt,msg,a,b) 87 #define RTDIAG4(pctxt,msg,a,b,c) 88 #define RTDIAG5(pctxt,msg,a,b,c,d) 89 #define RTDIAGU(pctxt,ucstr) 90 #define RTHEXDUMP(pctxt,buffer,numocts) 91 #define RTDIAGCHARS(pctxt,buf,nchars) 93 #define RTDIAGSTRM2(pctxt,msg) 94 #define RTDIAGSTRM3(pctxt,msg,a) 95 #define RTDIAGSTRM4(pctxt,msg,a,b) 96 #define RTDIAGSTRM5(pctxt,msg,a,b,c) 97 #define RTHEXDUMPSTRM(pctxt,buffer,numocts) 98 #define RTDIAGSCHARS(pctxt,buf,nchars) 107 } OSRTDiagTraceLevel;
133 #ifndef __SYMBIAN32__ 188 (
OSCTXT* pctxt,
const OSOCTET* data,
size_t numocts);
200 (
OSCTXT* pctxt,
const OSOCTET* data,
size_t numocts);
214 (
OSCTXT* pctxt,
const char* data,
size_t nchars);
228 (
OSCTXT* pctxt,
const char* data,
size_t nchars);
241 (
OSCTXT* pctxt,
const char* descr,
const OSOCTET* data,
242 size_t bitIndex,
size_t nbits);
265 (
OSCTXT* pctxt, OSRTDiagTraceLevel level);
EXTERNRT void rtxDiagStream(OSCTXT *pctxt, const char *fmtspec,...)
This function conditionally outputs diagnostic trace messages to an output stream defined within the ...
EXTERNRT OSBOOL rtxDiagEnabled(OSCTXT *pctxt)
This function is used to determine if diagnostic tracing is currently enabled for the specified conte...
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.
EXTERNRT void rtxDiagSetTraceLevel(OSCTXT *pctxt, OSRTDiagTraceLevel level)
This function is used to set the maximum trace level for diagnostic trace messages.
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...
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.
Common run-time context definitions.
EXTERNRT void rtxDiagPrint(OSCTXT *pctxt, const char *fmtspec,...)
This function is used to print a diagnostics message to stdout.
EXTERNRT OSBOOL rtxSetGlobalDiag(OSBOOL value)
This function is used to turn diagnostic tracing on or off at run-time on a global basis...
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 rtxDiagTraceLevelEnabled(OSCTXT *pctxt, OSRTDiagTraceLevel level)
This function tests if a given trace level is enabled.
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...
Run-time context structure.
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.