home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
hugs101.zip
/
hugs101sc.zip
/
hugsdist
/
src
/
command.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-03-02
|
964b
|
38 lines
/* --------------------------------------------------------------------------
* command.h: Copyright (c) Mark P Jones 1991-1994. All rights reserved.
* See NOTICE for details and conditions of use etc...
* Hugs version 1.0 August 1994, derived from Gofer 2.30a
*
* Interpreter command structure
* ------------------------------------------------------------------------*/
typedef Int Command;
struct cmd {
String cmdString;
Command cmdCode;
};
extern Command readCommand Args((struct cmd *, Char, Char));
#define EDIT 0
#define FIND 1
#define LOAD 2
#define ALSO 3
#define PROJECT 4
#define RELOAD 5
#define EVAL 6
#define TYPEOF 7
#define HELP 8
#define NAMES 9
#define BADCMD 10
#define SET 11
#define QUIT 12
#define SYSTEM 13
#define CHGDIR 14
#define INFO 15
#define COLLECT 16
#define NOCMD 17
/*-------------------------------------------------------------------------*/