Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / netiso / xebec / sets.h
blob2c30ead865f607ce47efa07f24d4023eccb60e8e
1 /* $NetBSD: sets.h,v 1.5.22.1 2005/03/04 16:54:09 skrll Exp $ */
3 #define MAXEVENTS 200
4 #define MAXSTATES 200
6 #define STATESET 10
7 #define EVENTSET 5
9 #define OBJ_ITEM 2
10 #define OBJ_SET 3
12 struct Object {
13 unsigned char obj_kind;
14 unsigned char obj_type; /* state or event */
15 char *obj_name;
16 char *obj_struc;
17 int obj_number;
18 struct Object *obj_members; /* must be null for kind==item */
19 /* for the tree */
20 struct Object *obj_left;
21 struct Object *obj_right;
22 struct Object *obj_parent;
23 } ;
25 extern char *Noname;
27 #define OBJ_NAME(o) (((o)->obj_name)?(o)->obj_name:Noname)
29 extern int Nevents, Nstates;
30 int Eventshift;
31 extern struct Object *CurrentEvent;
33 extern struct Object *lookup();
34 extern struct Object *defineset();
35 extern void end_states();
36 extern struct Object *Lookup();
37 extern void defineitem();
38 extern void member();
39 extern void dump_trans();