X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fotherinfo.h;h=3c936ee3361b5eeb1b1b96a3412c815fac02be9c;hp=ed41c9117520ab978672266c23131144c4197d6c;hb=a856c901f082e75a18f21734b47e89fa5534c8f7;hpb=7a98e9bfbb9d5fe7d44822a9838e3becbdce9363 diff --git a/include/yaz/otherinfo.h b/include/yaz/otherinfo.h index ed41c91..3c936ee 100644 --- a/include/yaz/otherinfo.h +++ b/include/yaz/otherinfo.h @@ -1,5 +1,5 @@ -/* - * Copyright (c) 1995-2007, Index Data +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2010 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: @@ -24,7 +24,6 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $Id: otherinfo.h,v 1.11 2007-05-08 08:22:35 adam Exp $ */ /** * \file otherinfo.h @@ -46,6 +45,17 @@ Z_OtherInformationUnit *yaz_oi_update ( const Odr_oid *oid, int categoryValue, int delete_flag); YAZ_EXPORT +void yaz_oi_set_facetlist_oid ( + Z_OtherInformation **otherInformation, ODR odr, + const Odr_oid *oid, int categoryValue, + Z_FacetList *facet_list); + +YAZ_EXPORT +Z_FacetList *yaz_oi_get_facetlist_oid ( + Z_OtherInformation **otherInformation, ODR odr, + const Odr_oid *oid, int categoryValue, int delete_flag); + +YAZ_EXPORT void yaz_oi_set_string_oid ( Z_OtherInformation **otherInformation, ODR odr, const Odr_oid *oid, int categoryValue, @@ -62,6 +72,7 @@ YAZ_END_CDECL /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab