X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Ffacet.h;h=5ac83ce4cdb353db0a56c1c04369613cdcc7a866;hb=22f541bb03c1fc3e9edbab5f4aaf01e9232bd003;hp=8a22208f2d7796ab2011fd7e90cb74bff4cb96ec;hpb=b56b6242e4e9c0011b9a2dae6d67c3ef0789251f;p=yaz-moved-to-github.git diff --git a/include/yaz/facet.h b/include/yaz/facet.h index 8a22208..5ac83ce 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-2010 Index Data. + * Copyright (C) 1995-2011 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: @@ -69,9 +69,6 @@ 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); - -YAZ_EXPORT Z_Term *term_create(ODR odr, const char *cstr); YAZ_EXPORT @@ -91,6 +88,12 @@ Z_FacetList* facet_list_create(ODR odr, int num_facets); YAZ_EXPORT void facet_list_field_set(ODR odr, Z_FacetList *list, Z_FacetField *field, int index); +YAZ_EXPORT +void yaz_oi_set_facetlist( + Z_OtherInformation **otherInformation, ODR odr, Z_FacetList *facet_list); + +YAZ_EXPORT +Z_FacetList *yaz_oi_get_facetlist(Z_OtherInformation **otherInformation); YAZ_END_CDECL