X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Ffacet.h;h=2ff9bc1ccfaeb319c5bbb6dee3634b66f4828a90;hp=d51b2efb79c9e6412a25c7ddfe362401dbb9e823;hb=df65074917a6504ab9f21b5d1897b006ec086007;hpb=b23a551976e442c5cbb0ee4aa46768904dd57ccf diff --git a/include/yaz/facet.h b/include/yaz/facet.h index d51b2ef..2ff9bc1 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,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,