* Europagate, 1995
*
* $Log: cclp.h,v $
- * Revision 1.1 1995/02/13 12:35:20 adam
+ * 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.
*
*/
struct ccl_token *prev;
};
-struct ccl_rpn_attr {
- struct ccl_rpn_attr *next;
- int name;
- int value;
+struct ccl_qualifier {
+ char *name;
+ int nuse;
+ int *use;
+ int relation;
+ int position;
+ int structure;
+ int truncation;
+ int completeness;
+ struct ccl_qualifier *next;
};
-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_token *ccl_tokenize (const char *command);
-void ccl_rpn_delete (struct ccl_rpn_node *rpn);
+struct ccl_qualifier *ccl_qual_search (CCL_bibset b, const char *name);
+