xref: /reactos/sdk/tools/log2lines/cmd.h (revision 7eead935)
1 /*
2  * ReactOS log2lines
3  * Written by Jan Roeloffzen
4  *
5  * - Cli for escape commands
6  */
7 
8 #pragma once
9 
10 #include <stdio.h>
11 
12 #define KDBG_BS_CHAR    0x08
13 #define KDBG_ESC_CHAR   '`'
14 #define KDBG_ESC_STR    "`"
15 #define KDBG_ESC_RESP   "| L2L- "
16 #define KDBG_ESC_OFF    "off"
17 #define KDBG_PROMPT     "kdb:>"                     //Start interactive (-c) after this pattern
18 #define KDBG_CONT       "---"                       //Also after this pattern (prompt with no line ending)
19 #define KDBG_DISCARD    "Command '" KDBG_ESC_STR    //Discard responses at l2l escape commands
20 
21 char handle_escape_cmd(FILE *outFile, char *Line);
22 
23 /* EOF */
24