/* **********************************************************************
 * *                                                                    *
 * *          Command Interpreter Thread Private Definitions            *
 * *                                                                    *
 * **********************************************************************
 * File: rda/rvp8main/core/cmds_def.h
 *
 *                        COPYRIGHT (c) 2002  BY
 *          SIGMET INCORPORATED, WESTFORD MASSACHUSETTS, U.S.A.
 * 
 * THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND  COPIED
 * ONLY  IN  ACCORDANCE WITH  THE  TERMS  OF  SUCH  LICENSE  AND WITH THE
 * INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE  OR  ANY OTHER
 * COPIES  THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
 * OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF  THE  SOFTWARE  IS  HEREBY
 * TRANSFERED.
 */
#ifdef CMDS_DEF_ALLOCATE
  #define XM
#else
  #define XM extern
#endif

#undef XM /* End of shared variables */

/* ------------------- cmds_main.c -------------------
 */
UINT2 getin( void ) ;
SINT4 getinNumAvail( void ) ;
void  getinReadAhead( SINT4 nWords_a ) ;

void output_gparm( void ) ;

UINT4 iPPrmsFromOpcode( UINT4 iOp_a ) ;

UINT4 iOpCodeType( UINT2 iOp_a ) ;
#define OPTY_MONIOKAY  0x0001 /* Can execute while TTY monitor is running */
#define OPTY_PIPEFLOW  0x0002 /* Continuous pipeline flow while executing */
#define OPTY_PROCOKAY  0x0004 /* Can execute during freerunning PROC cmd */

/* ------------------- cmds_proc.c -------------------
 */
void proc_command( UINT4 iOp_a ) ;
