Changed header.
[egate.git] / include / ccl.h
index dacc22e..84ce87a 100644 (file)
@@ -2,7 +2,16 @@
  * Europagate, 1995
  *
  * $Log: ccl.h,v $
- * Revision 1.1  1995/02/14 19:55:21  adam
+ * Revision 1.5  1995/02/23 08:32:11  adam
+ * Changed header.
+ *
+ * Revision 1.3  1995/02/16  13:20:10  adam
+ * Spell fix.
+ *
+ * Revision 1.2  1995/02/15  17:43:08  adam
+ * Minor changes to the ccl interface. Bug fix in iso2709 module.
+ *
+ * Revision 1.1  1995/02/14  19:55:21  adam
  * Header files ccl.h/cclp.h are gone! They have been merged an
  * moved to ../include/ccl.h.
  *
@@ -19,7 +28,7 @@
 #define CCL_ERR_OP_EXPECTED       4
 #define CCL_ERR_BAD_RP            5
 #define CCL_ERR_UNKNOWN_QUAL      6
-#define CCL_ERR_DOBBLE_QUAL       7
+#define CCL_ERR_DOUBLE_QUAL       7
 #define CCL_ERR_EQ_EXPECTED       8
 #define CCL_ERR_BAD_RELATION      9
 #define CCL_ERR_TRUNC_NOT_LEFT   10
@@ -128,15 +137,24 @@ struct ccl_token *ccl_tokenize (const char *command);
 
 struct ccl_rpn_node *ccl_find_str (CCL_bibset bibset,
                                    const char *str, int *error, int *pos);
+
+struct ccl_rpn_node *ccl_find (CCL_bibset abibset, struct ccl_token *list,
+                               int *error, const char **pos);
 char *ccl_err_msg (int ccl_errno);
 void ccl_rpn_delete (struct ccl_rpn_node *rpn);
-void ccl_pr_tree (struct ccl_rpn_node *rpn);
+void ccl_pr_tree (struct ccl_rpn_node *rpn, FILE *fd_out);
 
 void ccl_qual_add (CCL_bibset b, const char *name, int no, int *attr);
 void ccl_qual_file (CCL_bibset bibset, FILE *inf);
 CCL_bibset ccl_qual_mk (void);
 void ccl_qual_rm (CCL_bibset *b);
 
+extern const char *ccl_token_and;
+extern const char *ccl_token_or;
+extern const char *ccl_token_not;
+extern const char *ccl_token_set;
+
+
 struct ccl_rpn_attr *ccl_qual_search (CCL_bibset b, const char *name, int len);
 #endif