* CCL - header file
*
* $Log: ccl.h,v $
- * Revision 1.7 2000-11-01 14:47:00 adam
+ * Revision 1.10 2001-06-28 12:42:01 adam
+ * Added prototype for ccl_qual_add_special.
+ *
+ * Revision 1.9 2001/03/07 13:24:40 adam
+ * Member and_not in Z_Operator is kept for backwards compatibility.
+ * Added support for definition of CCL operators in field spec file.
+ *
+ * Revision 1.8 2000/11/16 09:58:02 adam
+ * Implemented local AttributeSet setting for CCL field maps.
+ *
+ * Revision 1.7 2000/11/01 14:47:00 adam
* Added CCL support for WIN32.
*
* Revision 1.6 2000/10/17 19:50:28 adam
/* attribute pair (type, value) */
struct ccl_rpn_attr {
struct ccl_rpn_attr *next;
+ char *set;
int type;
int value;
};
YAZ_EXPORT void ccl_pr_tree (struct ccl_rpn_node *rpn, FILE *fd_out);
/* Add CCL qualifier */
-YAZ_EXPORT void ccl_qual_add (CCL_bibset b, const char *name, int no, int *attr);
+YAZ_EXPORT void ccl_qual_add (CCL_bibset b, const char *name, int no,
+ int *attr);
+
+YAZ_EXPORT void ccl_qual_add_set (CCL_bibset b, const char *name, int no,
+ int *attr, char **attsets);
+
+YAZ_EXPORT void ccl_qual_add_special (CCL_bibset bibset, const char *n, const char *v);
/* Read CCL qualifier list spec from file inf */
YAZ_EXPORT void ccl_qual_file (CCL_bibset bibset, FILE *inf);
+/* Read CCL qualifier list spec from file inf */
+YAZ_EXPORT int ccl_qual_fname (CCL_bibset bibset, const char *fname);
+
/* Add CCL qualifier by using single-line spec */
YAZ_EXPORT void ccl_qual_fitem (CCL_bibset bibset, const char *cp, const char *qual_name);
/* Destroy CCL parser */
YAZ_EXPORT void ccl_parser_destroy (CCL_parser p);
+YAZ_EXPORT char *ccl_strdup (const char *str);
+
+YAZ_EXPORT const char *ccl_qual_search_special (CCL_bibset b,
+ const char *name);
#ifndef ccl_assert
#define ccl_assert(x) ;