diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
commit | d6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch) | |
tree | ece253b876159b39c620e62b6c9b1174642e070e /sys/netiso/xebec/sets.h |
initial import of NetBSD tree
Diffstat (limited to 'sys/netiso/xebec/sets.h')
-rw-r--r-- | sys/netiso/xebec/sets.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sys/netiso/xebec/sets.h b/sys/netiso/xebec/sets.h new file mode 100644 index 00000000000..a3b6bf44fa6 --- /dev/null +++ b/sys/netiso/xebec/sets.h @@ -0,0 +1,35 @@ +/* $NetBSD: sets.h,v 1.4 1994/06/29 06:41:17 cgd Exp $ */ + +#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(); + |