X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Ffacet.h;h=079f3711b82b68f907d6899a16d9bb5583b889a5;hp=2ff9bc1ccfaeb319c5bbb6dee3634b66f4828a90;hb=916ddaa16e2fe4f4bd649b463be12e7854f98dc8;hpb=847dc126960b1bcc6ce8cef8a73e3606588770af diff --git a/include/yaz/facet.h b/include/yaz/facet.h index 2ff9bc1..079f371 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-2011 Index Data. + * Copyright (C) 1995-2013 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