X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Ffacet.h;h=8a22208f2d7796ab2011fd7e90cb74bff4cb96ec;hp=3f21374f50bbf5284b228da086f2490ac49a5132;hb=b56b6242e4e9c0011b9a2dae6d67c3ef0789251f;hpb=76b807cf7d5aeff484005ab3168f3193da110f1f diff --git a/include/yaz/facet.h b/include/yaz/facet.h index 3f21374..8a22208 100644 --- a/include/yaz/facet.h +++ b/include/yaz/facet.h @@ -62,23 +62,11 @@ struct yaz_facet_attr { }; YAZ_EXPORT -void facet_struct_init(struct yaz_facet_attr *attr_values); +void yaz_facet_attr_init(struct yaz_facet_attr *attr_values); -/* Use attribute, @attr1, can be numeric or string */ YAZ_EXPORT -void useattr(Z_AttributeElement *ae, struct yaz_facet_attr *av); - -YAZ_EXPORT -void relationattr(Z_AttributeElement *ae, struct yaz_facet_attr *av); - -YAZ_EXPORT -void limitattr(Z_AttributeElement *ae, struct yaz_facet_attr *av); - -YAZ_EXPORT -void limitattr(Z_AttributeElement *ae, struct yaz_facet_attr *av); - -YAZ_EXPORT -void facetattrs(Z_AttributeList *attributes, struct yaz_facet_attr *av); +void yaz_facet_attr_get_z_attributes(const Z_AttributeList *attributes, + struct yaz_facet_attr *av); YAZ_EXPORT Z_FacetList *extract_facet_request(ODR odr, Z_OtherInformation *search_input);