ReactOS 0.4.16-dev-555-g690643f
|
#include <ntoskrnl.h>
Go to the source code of this file.
Functions | |
VOID | KdbpCommandHistoryAppend (_In_ PCSTR Command) |
Appends a command to the command history. | |
static PCSTR | KdbpGetPrevHistoryEntry (_Inout_ PLONG NextIndex) |
static PCSTR | KdbpGetNextHistoryEntry (_Inout_ PLONG NextIndex) |
PCSTR | KdbGetHistoryEntry (_Inout_ PLONG NextIndex, _In_ BOOLEAN Next) |
Variables | |
static CHAR | KdbCommandHistoryBuffer [2048] |
static PCHAR | KdbCommandHistory [sizeof(KdbCommandHistoryBuffer)/8] = { NULL } |
static LONG | KdbCommandHistoryBufferIndex = 0 |
static LONG | KdbCommandHistoryIndex = 0 |
Definition at line 152 of file kdb_cmdhist.c.
Appends a command to the command history.
[in] | Command | Pointer to the command to append to the history. |
Definition at line 37 of file kdb_cmdhist.c.
Referenced by KdbpCliMainLoop().
Definition at line 133 of file kdb_cmdhist.c.
Referenced by KdbGetHistoryEntry().
Definition at line 109 of file kdb_cmdhist.c.
Referenced by KdbGetHistoryEntry().
|
static |
Definition at line 24 of file kdb_cmdhist.c.
Referenced by KdbpCommandHistoryAppend(), KdbpGetNextHistoryEntry(), and KdbpGetPrevHistoryEntry().
|
static |
History range in ring buffer: (KdbCommandHistoryIndex; RTL_NUMBER_OF(KdbCommandHistory) - 1] and [0; KdbCommandHistoryIndex].
Definition at line 22 of file kdb_cmdhist.c.
Referenced by KdbpCommandHistoryAppend().
|
static |
Definition at line 25 of file kdb_cmdhist.c.
Referenced by KdbpCommandHistoryAppend().
|
static |
Definition at line 26 of file kdb_cmdhist.c.
Referenced by KdbpCommandHistoryAppend(), KdbpGetNextHistoryEntry(), and KdbpGetPrevHistoryEntry().