X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Ffacet.h;h=6ce1744e35ac2d0d52e7ec62e160bc74c7b82834;hp=c2f9e6889695a209f784b4aa97cad54e757f0398;hb=2cb501be3b31d5ddc14de30498fadb4b31d56fb5;hpb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a diff --git a/include/yaz/facet.h b/include/yaz/facet.h index c2f9e68..6ce1744 100644 --- a/include/yaz/facet.h +++ b/include/yaz/facet.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2012 Index Data. + * Copyright (C) Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -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