mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 16:10:46 +01:00
37 lines
783 B
C
37 lines
783 B
C
/* $Header: sets.h,v 2.1 88/09/19 12:56:33 nhall Exp $ */
|
|
/* $Source: /var/home/tadl/src/argo/xebec/RCS/sets.h,v $ */
|
|
|
|
#define MAXEVENTS 200
|
|
#define MAXSTATES 200
|
|
|
|
#define STATESET 10
|
|
#define EVENTSET 5
|
|
|
|
#define OBJ_ITEM 2
|
|
#define OBJ_SET 3
|
|
|
|
struct Object {
|
|
unsigned char obj_kind;
|
|
unsigned char obj_type; /* state or event */
|
|
char *obj_name;
|
|
char *obj_struc;
|
|
int obj_number;
|
|
struct Object *obj_members; /* must be null for kind==item */
|
|
/* for the tree */
|
|
struct Object *obj_left;
|
|
struct Object *obj_right;
|
|
struct Object *obj_parent;
|
|
} ;
|
|
|
|
extern char *Noname;
|
|
|
|
#define OBJ_NAME(o) (((o)->obj_name)?(o)->obj_name:Noname)
|
|
|
|
extern int Nevents, Nstates;
|
|
int Eventshift;
|
|
extern struct Object *CurrentEvent;
|
|
|
|
extern struct Object *Lookup();
|
|
extern struct Object *defineset();
|
|
|