/* -*-c-*-
*
- * $Id: class.h,v 1.4 1998/01/12 16:45:53 mdw Exp $
+ * $Id: class.h,v 1.7 2004/04/08 01:36:20 mdw Exp $
*
* Handling classes of things nicely
*
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: class.h,v $
- * Revision 1.4 1998/01/12 16:45:53 mdw
- * Fix copyright date.
- *
- * Revision 1.3 1997/09/17 10:14:56 mdw
- * Complete rewrite to support class trees. Makes the behaviour of the set
- * operators much more logical.
- *
- * Revision 1.2 1997/08/04 10:24:21 mdw
- * Sources placed under CVS control.
- *
- * Revision 1.1 1997/07/21 13:47:52 mdw
- * Initial revision
- *
- */
-
#ifndef CLASS_H
#define CLASS_H
#include <netinet/in.h>
#include <arpa/inet.h>
-#ifndef SYM_H
-# include "sym.h"
-#endif
+#include <mLib/sym.h>
/*----- Data structures ---------------------------------------------------*/
clNode_any = 0x10, /* Magic type for the `all' class */
clNode_immed = 0x20, /* Immediate data item */
clNode_hash = 0x30, /* Hashtable of values */
+ clNode_binop = 0x40, /* Binary operations start here */
clNode_union = 0x40, /* Union of two classes */
- clNode_binop = 0x50, /* Binary operations start here */
clNode_diff = 0x50, /* Difference of two classes */
clNode_isect = 0x60, /* Intersection of two classes */
clNode_mask = 0xF0, /* Mask for picking these out */