X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/50a87c1f8ddb1abd3b80bbc99d99f7806cc40374..4c37c6af624a9d4dabadac32a5e566d388ee78d7:/src/class.h diff --git a/src/class.h b/src/class.h index 6cf53a5..25d661f 100644 --- a/src/class.h +++ b/src/class.h @@ -1,10 +1,10 @@ /* -*-c-*- * - * $Id: class.h,v 1.3 1997/09/17 10:14:56 mdw Exp $ + * $Id: class.h,v 1.6 2003/10/12 00:14:55 mdw Exp $ * * Handling classes of things nicely * - * (c) 1997 EBI + * (c) 1998 EBI */ /*----- Licensing notice --------------------------------------------------* @@ -29,7 +29,17 @@ /*----- Revision history --------------------------------------------------* * * $Log: class.h,v $ - * Revision 1.3 1997/09/17 10:14:56 mdw + * Revision 1.6 2003/10/12 00:14:55 mdw + * Major overhaul. Now uses DSA signatures rather than the bogus symmetric + * encrypt-and-hope thing. Integrated with mLib and Catacomb. + * + * Revision 1.5 1998/04/23 13:22:44 mdw + * Fix value of clNode_binop, required for bcquery. + * + * 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. * @@ -55,9 +65,7 @@ #include #include -#ifndef SYM_H -# include "sym.h" -#endif +#include /*----- Data structures ---------------------------------------------------*/ @@ -86,8 +94,8 @@ enum { 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 */