2010-02-10 12:10:23 +00:00
|
|
|
/*
|
|
|
|
* ReactOS log2lines
|
|
|
|
* Written by Jan Roeloffzen
|
|
|
|
*
|
|
|
|
* - Cli for escape commands
|
|
|
|
*/
|
|
|
|
|
2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2010-02-10 12:10:23 +00:00
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#define KDBG_BS_CHAR 0x08
|
|
|
|
#define KDBG_ESC_CHAR '`'
|
|
|
|
#define KDBG_ESC_STR "`"
|
|
|
|
#define KDBG_ESC_RESP "| L2L- "
|
|
|
|
#define KDBG_ESC_OFF "off"
|
|
|
|
#define KDBG_PROMPT "kdb:>" //Start interactive (-c) after this pattern
|
|
|
|
#define KDBG_CONT "---" //Also after this pattern (prompt with no line ending)
|
|
|
|
#define KDBG_DISCARD "Command '" KDBG_ESC_STR //Discard responses at l2l escape commands
|
|
|
|
|
2019-03-16 10:23:27 +00:00
|
|
|
char handle_escape_cmd(FILE *outFile, char *Line);
|
2010-02-10 12:10:23 +00:00
|
|
|
|
|
|
|
/* EOF */
|