X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fotherinfo.h;h=6da601acd46d88ee94368282d2df1aa5e8001967;hp=7a4c1abde6ecc63174c35f39913671a3d0426da8;hb=d940392c53c32ccf76fb287cc5b997b9e921a431;hpb=7a4064cd15f6c6b34c1180e1bc51f0d0e90da320 diff --git a/include/yaz/otherinfo.h b/include/yaz/otherinfo.h index 7a4c1ab..6da601a 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-2008 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.9 2007-04-12 13:52:57 adam Exp $ */ /** * \file otherinfo.h @@ -37,29 +36,24 @@ YAZ_BEGIN_CDECL -YAZ_EXPORT void yaz_oi_APDU(Z_APDU *apdu, Z_OtherInformation ***oip); -YAZ_EXPORT Z_OtherInformationUnit *yaz_oi_update ( +YAZ_EXPORT +void yaz_oi_APDU(Z_APDU *apdu, Z_OtherInformation ***oip); + +YAZ_EXPORT +Z_OtherInformationUnit *yaz_oi_update ( Z_OtherInformation **otherInformationP, ODR odr, - const int *oid, int categoryValue, int delete_flag); -YAZ_EXPORT void yaz_oi_set_string_oid ( - Z_OtherInformation **otherInformation, ODR odr, - const int *oid, int categoryValue, - const char *str); -#ifndef NO_OID -YAZ_EXPORT void yaz_oi_set_string_oidval ( + const Odr_oid *oid, int categoryValue, int delete_flag); + +YAZ_EXPORT +void yaz_oi_set_string_oid ( Z_OtherInformation **otherInformation, ODR odr, - int oidval, int categoryValue, + const Odr_oid *oid, int categoryValue, const char *str); -#endif -YAZ_EXPORT char *yaz_oi_get_string_oid ( +YAZ_EXPORT +char *yaz_oi_get_string_oid ( Z_OtherInformation **otherInformation, - const int *oid, int categoryValue, int delete_flag); -#ifndef NO_OID -YAZ_EXPORT char *yaz_oi_get_string_oidval( - Z_OtherInformation **otherInformation, - int oidval, int categoryValue, int delete_flag); -#endif + const Odr_oid *oid, int categoryValue, int delete_flag); YAZ_END_CDECL