/*************************************************************************** * * Copyright (c) 1997, 1998 Timpanogas Research Group, Inc. All Rights * Reserved. * * This program is an unpublished work of TRG, Inc. and contains * trade secrets and other proprietary information. Unauthorized * use, copying, disclosure, or distribution of this file without the * consent of TRG, Inc. can subject the offender to severe criminal * and/or civil penalities. * * * AUTHOR : Jeff V. Merkey * FILE : DPARSE.H * DESCRIP : Installable Debugger Command Parser for MANOS v1.0 * DATE : July 27, 1998 * * ***************************************************************************/ #include "types.h" typedef struct _DEBUGGER_PARSER { struct _DEBUGGER_PARSER *debugNext; struct _DEBUGGER_PARSER *debugPrior; LONG (*DebugCommandParser)(SCREEN *screen, BYTE *commandLine, StackFrame *stackFrame, LONG Exception, struct _DEBUGGER_PARSER *parser); LONG (*DebugCommandParserHelp)(SCREEN *screen, BYTE *commandLine, struct _DEBUGGER_PARSER *parser); LONG parserFlags; BYTE *debugCommandName; LONG debugCommandNameLength; LONG supervisorCommand; BYTE *shortHelp; LONG controlTransfer; void *moduleContext; } DEBUGGER_PARSER; extern LONG DebuggerParserRoutine(SCREEN *screen, BYTE *command, BYTE *commandLine, StackFrame *stackFrame, LONG Exception); extern LONG DebuggerParserHelpRoutine(SCREEN *screen, BYTE *command, BYTE *commandLine); extern LONG AddDebuggerCommandParser(DEBUGGER_PARSER *parser); extern LONG RemoveDebuggerCommandParser(DEBUGGER_PARSER *parser);