X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Ffacet.h;h=43e1eea578d3287c971f57be6b86c9698a8960c4;hb=eeec1fcf0dad0e7d431c2494c8e65560563f3aae;hp=5ac83ce4cdb353db0a56c1c04369613cdcc7a866;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35;p=yaz-moved-to-github.git diff --git a/include/yaz/facet.h b/include/yaz/facet.h index 5ac83ce..43e1eea 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: @@ -69,10 +69,7 @@ void yaz_facet_attr_get_z_attributes(const Z_AttributeList *attributes, struct yaz_facet_attr *av); YAZ_EXPORT -Z_Term *term_create(ODR odr, const char *cstr); - -YAZ_EXPORT -Z_FacetTerm* facet_term_create(ODR odr, Z_Term *term, int freq); +Z_FacetTerm *facet_term_create_cstr(ODR odr, const char *cstr, Odr_int freq); YAZ_EXPORT Z_FacetField* facet_field_create(ODR odr, Z_AttributeList *attributes,