#include "stdafx.h"
#include "PacketLog.h"
#include <bzscmn/bzscmn.h>
Go to the source code of this file.
Functions | |
static const char * | GetPacketTypeName (int PacketType) |
static const char * | GetApiTypeName (int ApiType) |
static void | DumpHexA (const void *pBuffer, size_t length, BazisLib::ConstManagedPointer< BazisLib::AIFile > &pFile, size_t BytesPerLine=16, const char *pLineBreak="<br/>\r\n") |
Variables | |
static const char | szHTMLPreambleFormat [] |
static const char | szLegend [] = "Legend: <b><font color = red>Debugger-to-kernel packets are in red</font>; <font color = green>Kernel-to-debugger packets are in green</font></b><br/>\r\n" |
static const char | szTableHeader [] = "<table border><tr><td>#</td><td>Time</td><td>Type</td><td>Data</td></tr>" |
static const char | szTerminationSimulationNotification [] = "</table><br/><center><font color = \"blue\"><b>----- Simulating session termination -----</b></font></center><br/>" |
static const char | szTerminationSimulationEndFmt [] = "</table><br/><center><font color = \"blue\"><b>----- Session termination simulated: %s -----</b></font></center><br/>" |
static const char | szHTMLFooter [] = "\r\n</table></body></html>" |
Definition in file PacketLog.cpp.
static void DumpHexA | ( | const void * | pBuffer, | |
size_t | length, | |||
BazisLib::ConstManagedPointer< BazisLib::AIFile > & | pFile, | |||
size_t | BytesPerLine = 16 , |
|||
const char * | pLineBreak = "<br/>\r\n" | |||
) | [static] |
Definition at line 190 of file PacketLog.cpp.
static const char* GetApiTypeName | ( | int | ApiType | ) | [static] |
Definition at line 90 of file PacketLog.cpp.
static const char* GetPacketTypeName | ( | int | PacketType | ) | [static] |
Definition at line 59 of file PacketLog.cpp.
const char szHTMLFooter[] = "\r\n</table></body></html>" [static] |
Definition at line 21 of file PacketLog.cpp.
const char szHTMLPreambleFormat[] [static] |
Initial value:
"<html><head><title>KDVMWare Packet Log - %S</title>\r\n\ <style>table {font-family: Courier New} tr.recv {color: red; } tr.send {color: green; }</style>\r\n\ </head>\r\n<body><center><h1>KDVMWare Packet Log - %S</h1></center>\r\n"
Definition at line 11 of file PacketLog.cpp.
const char szLegend[] = "Legend: <b><font color = red>Debugger-to-kernel packets are in red</font>; <font color = green>Kernel-to-debugger packets are in green</font></b><br/>\r\n" [static] |
Definition at line 15 of file PacketLog.cpp.
const char szTableHeader[] = "<table border><tr><td>#</td><td>Time</td><td>Type</td><td>Data</td></tr>" [static] |
Definition at line 16 of file PacketLog.cpp.
const char szTerminationSimulationEndFmt[] = "</table><br/><center><font color = \"blue\"><b>----- Session termination simulated: %s -----</b></font></center><br/>" [static] |
Definition at line 19 of file PacketLog.cpp.
const char szTerminationSimulationNotification[] = "</table><br/><center><font color = \"blue\"><b>----- Simulating session termination -----</b></font></center><br/>" [static] |
Definition at line 18 of file PacketLog.cpp.