rtxPrint.h File Reference
#include <stdio.h>
#include "rtxsrc/rtxContext.h"
Go to the source code of this file.
Functions | |
EXTERNRT int | rtxByteToHexChar (OSOCTET byte, char *buf, OSSIZE bufsize) |
This function converts a byte value into its hex string equivalent. | |
EXTERNRT int | rtxByteToHexCharWithPrefix (OSOCTET byte, char *buf, OSSIZE bufsize, const char *prefix) |
This function converts a byte value into its hex string equivalent. | |
EXTERNRT void | rtxPrintBoolean (const char *name, OSBOOL value) |
Prints a boolean value to stdout. | |
EXTERNRT void | rtxPrintDate (const char *name, const OSNumDateTime *pvalue) |
Prints a date value to stdout. | |
EXTERNRT void | rtxPrintTime (const char *name, const OSNumDateTime *pvalue) |
Prints a time value to stdout. | |
EXTERNRT void | rtxPrintDateTime (const char *name, const OSNumDateTime *pvalue) |
Prints a dateTime value to stdout. | |
EXTERNRT void | rtxPrintInteger (const char *name, OSINT32 value) |
Prints an integer value to stdout. | |
EXTERNRT void | rtxPrintInt64 (const char *name, OSINT64 value) |
Prints a 64-bit integer value to stdout. | |
EXTERNRT void | rtxPrintUnsigned (const char *name, OSUINT32 value) |
Prints an unsigned integer value to stdout. | |
EXTERNRT void | rtxPrintUInt64 (const char *name, OSUINT64 value) |
Prints an unsigned 64-bit integer value to stdout. | |
EXTERNRT void | rtxPrintHexStr (const char *name, OSSIZE numocts, const OSOCTET *data) |
This function prints the value of a binary string in hex format to standard output. | |
EXTERNRT void | rtxPrintHexStrPlain (const char *name, OSSIZE numocts, const OSOCTET *data) |
This function prints the value of a binary string in hex format to standard output. | |
EXTERNRT void | rtxPrintHexStrNoAscii (const char *name, OSSIZE numocts, const OSOCTET *data) |
This function prints the value of a binary string in hex format to standard output. | |
EXTERNRT void | rtxPrintHexBinary (const char *name, OSSIZE numocts, const OSOCTET *data) |
Prints an octet string value in hex binary format to stdout. | |
EXTERNRT void | rtxPrintCharStr (const char *name, const char *cstring) |
Prints an ASCII character string value to stdout. | |
EXTERNRT void | rtxPrintUTF8CharStr (const char *name, const OSUTF8CHAR *cstring) |
Prints a UTF-8 encoded character string value to stdout. | |
EXTERNRT void | rtxPrintUnicodeCharStr (const char *name, const OSUNICHAR *str, int nchars) |
This function prints a Unicode string to standard output. | |
EXTERNRT void | rtxPrintReal (const char *name, OSREAL value) |
Prints a REAL (float, double, decimal) value to stdout. | |
EXTERNRT void | rtxPrintNull (const char *name) |
Prints a NULL value to stdout. | |
EXTERNRT void | rtxPrintNVP (const char *name, const OSUTF8NVP *value) |
Prints a name-value pair to stdout. | |
EXTERNRT int | rtxPrintFile (const char *filename) |
This function prints the contents of a text file to stdout. | |
EXTERNRT void | rtxPrintIndent (OSVOIDARG) |
This function prints indentation spaces to stdout. | |
EXTERNRT void | rtxPrintIncrIndent (OSVOIDARG) |
This function increments the current indentation level. | |
EXTERNRT void | rtxPrintDecrIndent (OSVOIDARG) |
This function decrements the current indentation level. | |
EXTERNRT void | rtxPrintCloseBrace (OSVOIDARG) |
This function closes a braced region by decreasing the indent level, printing indent spaces, and printing the closing brace. | |
EXTERNRT void | rtxPrintOpenBrace (const char *) |
This function opens a braced region by printing indent spaces, printing the name and opening brace, and increasing the indent level. | |
EXTERNRT int | rtxHexDumpToNamedFile (const char *filename, const OSOCTET *data, OSSIZE numocts) |
This function outputs a hexadecimal dump of the current buffer contents to the file with the given name. | |
EXTERNRT void | rtxHexDumpToFile (FILE *fp, const OSOCTET *data, OSSIZE numocts) |
This function outputs a hexadecimal dump of the current buffer contents to a file. | |
EXTERNRT void | rtxHexDumpToFileEx (FILE *fp, const OSOCTET *data, OSSIZE numocts, OSSIZE bytesPerUnit) |
This function outputs a hexadecimal dump of the current buffer to a file, but it may output the dump as an array of bytes, words, or double words. | |
EXTERNRT void | rtxHexDumpToFileExNoAscii (FILE *fp, const OSOCTET *data, OSSIZE numocts, OSSIZE bytesPerUnit) |
This function outputs a hexadecimal dump of the current buffer to a file, but it may output the dump as an array of bytes, words, or double words. | |
EXTERNRT void | rtxHexDump (const OSOCTET *data, OSSIZE numocts) |
This function outputs a hexadecimal dump of the current buffer contents to stdout. | |
EXTERNRT void | rtxHexDumpEx (const OSOCTET *data, OSSIZE numocts, OSSIZE bytesPerUnit) |
This function outputs a hexadecimal dump of the current buffer contents to stdout, but it may display the dump as an array or bytes, words, or double words. | |
EXTERNRT int | rtxHexDumpToString (const OSOCTET *data, OSSIZE numocts, char *buffer, OSSIZE bufferIndex, OSSIZE bufferSize) |
This function formats a hexadecimal dump of the current buffer contents to a string. | |
EXTERNRT int | rtxHexDumpToStringEx (const OSOCTET *data, OSSIZE numocts, char *buffer, OSSIZE bufferIndex, OSSIZE bufferSize, OSSIZE bytesPerUnit) |
This function formats a hexadecimal dump of the current buffer contents to a string, but it may output the dump as an array of bytes, words, or double words. | |
EXTERNRT int | rtxHexDumpFileContents (const char *inFilePath) |
This function outputs a hexadecimal dump of the contents of the named file to stdout. | |
EXTERNRT int | rtxHexDumpFileContentsToFile (const char *inFilePath, const char *outFilePath) |
This function outputs a hexadecimal dump of the contents of the named file to a text file. | |
EXTERNRT char * | rtxHexDiffToDynString (OSCTXT *pctxt, const OSOCTET *pdata1, const OSOCTET *pdata2, OSSIZE numocts) |
This function generates a differences report between two binary data buffers. |
Detailed Description
Definition in file rtxPrint.h.