X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Ffacet.h;h=079f3711b82b68f907d6899a16d9bb5583b889a5;hb=2fc1ed65e59499ef747922ea9763d8f21f056f6e;hp=43e1eea578d3287c971f57be6b86c9698a8960c4;hpb=0c46d2e66bdeea1600e700124a81a5d0a65d349e;p=yaz-moved-to-github.git diff --git a/include/yaz/facet.h b/include/yaz/facet.h index 43e1eea..079f371 100644 --- a/include/yaz/facet.h +++ b/include/yaz/facet.h @@ -57,8 +57,9 @@ struct yaz_facet_attr { /* or number converted to a string */ /* defaults to 'any' */ char useattrbuff[30]; /* for converting numbers to strings */ - char *relation; /* @attr 2, defaults to '=' */ - int limit; /* for facet attributes */ + int sortorder; + int limit; + int start; }; YAZ_EXPORT @@ -92,6 +93,11 @@ void yaz_oi_set_facetlist( YAZ_EXPORT Z_FacetList *yaz_oi_get_facetlist(Z_OtherInformation **otherInformation); +YAZ_EXPORT +void yaz_oi_set_facetlist(Z_OtherInformation **otherInformation, ODR odr, + Z_FacetList *facet_list); + + YAZ_END_CDECL #endif