Lots of changes. They aren't visible though.
[egate.git] / ccl / cclp.h
index d8aa138..574d464 100644 (file)
@@ -2,7 +2,13 @@
  * Europagate, 1995
  *
  * $Log: cclp.h,v $
- * Revision 1.1  1995/02/13 12:35:20  adam
+ * Revision 1.3  1995/02/14 10:25:56  adam
+ * The constructions 'qualifier rel term ...' implemented.
+ *
+ * Revision 1.2  1995/02/13  15:15:07  adam
+ * Added handling of qualifiers. Not finished yet.
+ *
+ * Revision 1.1  1995/02/13  12:35:20  adam
  * First version of CCL. Qualifiers aren't handled yet.
  *
  */
@@ -31,23 +37,11 @@ struct ccl_token {
     struct ccl_token *prev;
 };
 
-struct ccl_rpn_attr {
-    struct ccl_rpn_attr *next;
-    int name;
-    int value;
-};
-
-struct ccl_rpn_node {
-    enum rpn_node_kind { AND, OR, NOT, TERM, SET, PROX } kind;
-    union {
-       struct ccl_rpn_node *p[2];
-       struct {
-           char *term;
-           struct ccl_rpn_attr *attr_list;
-       } t;
-       char *setname;
-    } u;
+struct ccl_qualifier {
+    char *name;
+    struct ccl_rpn_attr *attr_list;
+    struct ccl_qualifier *next;
 };
 
 struct ccl_token *ccl_tokenize (const char *command);
-void ccl_rpn_delete (struct ccl_rpn_node *rpn);
+