The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/netiso/xebec/sets.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $NetBSD: sets.h,v 1.6 2005/02/26 22:39:49 perry Exp $   */
    2 
    3 #define MAXEVENTS 200
    4 #define MAXSTATES 200
    5 
    6 #define STATESET 10
    7 #define EVENTSET 5
    8 
    9 #define OBJ_ITEM 2
   10 #define OBJ_SET 3
   11 
   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 } ;
   24 
   25 extern char *Noname;
   26 
   27 #define OBJ_NAME(o) (((o)->obj_name)?(o)->obj_name:Noname)
   28 
   29 extern int Nevents, Nstates;
   30 int Eventshift;
   31 extern struct Object *CurrentEvent;
   32 
   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();

Cache object: 0f6ed4bdfbac0077f6e76fd6c92d1d2f


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.