projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added app_name, service_dependencies, service_display_name and
[yaz-moved-to-github.git]
/
ccl
/
cclqual.c
diff --git
a/ccl/cclqual.c
b/ccl/cclqual.c
index
57a82a8
..
55cf773
100644
(file)
--- a/
ccl/cclqual.c
+++ b/
ccl/cclqual.c
@@
-45,7
+45,12
@@
* Europagate, 1995
*
* $Log: cclqual.c,v $
* Europagate, 1995
*
* $Log: cclqual.c,v $
- * Revision 1.7 1997-09-01 08:48:12 adam
+ * Revision 1.8 1997-09-29 08:56:38 adam
+ * Changed CCL parser to be thread safe. New type, CCL_parser, declared
+ * and a create/destructers ccl_parser_create/ccl_parser/destory has
+ * been added.
+ *
+ * Revision 1.7 1997/09/01 08:48:12 adam
* New windows NT/95 port using MSV5.0. Only a few changes made
* to avoid warnings.
*
* New windows NT/95 port using MSV5.0. Only a few changes made
* to avoid warnings.
*
@@
-193,14
+198,17
@@
void ccl_qual_rm (CCL_bibset *b)
* len: Length of name.
* return: Attribute info. NULL if not found.
*/
* len: Length of name.
* return: Attribute info. NULL if not found.
*/
-struct ccl_rpn_attr *ccl_qual_search (CCL_bibset b, const char *name, size_t len)
+struct ccl_rpn_attr *ccl_qual_search (CCL_parser cclp,
+ const char *name, size_t len)
{
struct ccl_qualifier *q;
{
struct ccl_qualifier *q;
- assert (b);
- for (q = b->list; q; q = q->next)
+ assert (cclp);
+ if (!cclp->bibset)
+ return NULL;
+ for (q = cclp->bibset->list; q; q = q->next)
if (strlen(q->name) == len)
if (strlen(q->name) == len)
- if (ccl_case_sensitive)
+ if (cclp->ccl_case_sensitive)
{
if (!memcmp (name, q->name, len))
return q->attr_list;
{
if (!memcmp (name, q->name, len))
return q->attr_list;