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
Always initialize libgcrypt for POSIX threads YAZ-751
[yaz-moved-to-github.git]
/
src
/
cclqual.c
diff --git
a/src/cclqual.c
b/src/cclqual.c
index
c80438a
..
963bbd1
100644
(file)
--- a/
src/cclqual.c
+++ b/
src/cclqual.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2012 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
/**
* See the file LICENSE for details.
*/
/**
@@
-379,6
+379,15
@@
struct ccl_rpn_attr *ccl_qual_get_attr(ccl_qualifier_t q)
return q->attr_list;
}
return q->attr_list;
}
+struct ccl_rpn_attr *ccl_parser_qual_search(CCL_parser cclp, const char *name,
+ size_t name_len)
+{
+ ccl_qualifier_t q = ccl_qual_search(cclp, name, name_len, 0);
+ if (q)
+ return q->attr_list;
+ return 0;
+}
+
const char *ccl_qual_get_name(ccl_qualifier_t q)
{
return q->name;
const char *ccl_qual_get_name(ccl_qualifier_t q)
{
return q->name;