27 lines
463 B
Plaintext
27 lines
463 B
Plaintext
|
/*
|
||
|
Fido13 -- main include file
|
||
|
|
||
|
3 Sep 93
|
||
|
|
||
|
Tom Jennings
|
||
|
tomj@wps.com
|
||
|
(3 Sep 93)
|
||
|
|
||
|
copyright 1993
|
||
|
*/
|
||
|
|
||
|
#include <string.h>
|
||
|
|
||
|
/* State machine data structure. */
|
||
|
|
||
|
struct _state {
|
||
|
unsigned menu; /* which group this state belongs to */
|
||
|
char *name; /* name of state, also prompt */
|
||
|
char *input; /* input character */
|
||
|
char *action; /* command to execute */
|
||
|
struct _state *next; /* next state to switch to */
|
||
|
};
|
||
|
|
||
|
extern struct _state *current_state, *bliss;
|
||
|
|