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
Rename struct attrvalues to yaz_facet_attr
[yaz-moved-to-github.git]
/
include
/
yaz
/
facet.h
diff --git
a/include/yaz/facet.h
b/include/yaz/facet.h
index
cd34496
..
56dd17a
100644
(file)
--- a/
include/yaz/facet.h
+++ b/
include/yaz/facet.h
@@
-47,11
+47,11
@@
YAZ_BEGIN_CDECL
*
*/
*
*/
-/* A helper structure to extract all the attribute stuff
- from one Z_AttributesList. The pointers will all be to
+/** A helper structure to extract all the attribute stuff
+ from one Z_AttributesList for facets. The pointers will all be to
the Z-structures, or to constants, so there is no need to
worry about freeing them */
the Z-structures, or to constants, so there is no need to
worry about freeing them */
-struct attrvalues {
+struct yaz_facet_attr {
int errcode; /* set in case of errors */
char *errstring; /* opt */
const char *useattr; /* @attr 1, from a string attr */
int errcode; /* set in case of errors */
char *errstring; /* opt */
const char *useattr; /* @attr 1, from a string attr */
@@
-63,23
+63,23
@@
struct attrvalues {
};
YAZ_EXPORT
};
YAZ_EXPORT
-void facet_struct_init(struct attrvalues *attr_values);
+void facet_struct_init(struct yaz_facet_attr *attr_values);
/* Use attribute, @attr1, can be numeric or string */
YAZ_EXPORT
/* Use attribute, @attr1, can be numeric or string */
YAZ_EXPORT
-void useattr ( Z_AttributeElement *ae, struct attrvalues *av );
+void useattr ( Z_AttributeElement *ae, struct yaz_facet_attr *av );
YAZ_EXPORT
YAZ_EXPORT
-void relationattr ( Z_AttributeElement *ae, struct attrvalues *av );
+void relationattr ( Z_AttributeElement *ae, struct yaz_facet_attr *av );
YAZ_EXPORT
YAZ_EXPORT
-void limitattr ( Z_AttributeElement *ae, struct attrvalues *av );
+void limitattr ( Z_AttributeElement *ae, struct yaz_facet_attr *av );
YAZ_EXPORT
YAZ_EXPORT
-void limitattr ( Z_AttributeElement *ae, struct attrvalues *av );
+void limitattr ( Z_AttributeElement *ae, struct yaz_facet_attr *av );
YAZ_EXPORT
YAZ_EXPORT
-void facetattrs( Z_AttributeList *attributes, struct attrvalues *av );
+void facetattrs( Z_AttributeList *attributes, struct yaz_facet_attr *av );
YAZ_EXPORT
Z_FacetList *extract_facet_request(ODR odr, Z_OtherInformation *search_input);
YAZ_EXPORT
Z_FacetList *extract_facet_request(ODR odr, Z_OtherInformation *search_input);