X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fotherinfo.h;h=ed41c9117520ab978672266c23131144c4197d6c;hb=297aa7b45c3bd88aea2799f6810c8c85bc998f56;hp=a8d45ac12f6f6f272e0b199f5f500ba3d9c94b35;hpb=c83035e0e0177b385091cd273562ea0d222b5908;p=yaz-moved-to-github.git diff --git a/include/yaz/otherinfo.h b/include/yaz/otherinfo.h index a8d45ac..ed41c91 100644 --- a/include/yaz/otherinfo.h +++ b/include/yaz/otherinfo.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995-2006, Index Data + * Copyright (c) 1995-2007, 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,7 @@ * (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.7 2006-10-13 11:30:37 adam Exp $ */ +/* $Id: otherinfo.h,v 1.11 2007-05-08 08:22:35 adam Exp $ */ /** * \file otherinfo.h @@ -37,24 +37,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, - int *oid, int categoryValue, int delete_flag); -YAZ_EXPORT void yaz_oi_set_string_oid ( - Z_OtherInformation **otherInformation, ODR odr, - int *oid, int categoryValue, - const char *str); -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); -YAZ_EXPORT char *yaz_oi_get_string_oid ( - Z_OtherInformation **otherInformation, - int *oid, int categoryValue, int delete_flag); -YAZ_EXPORT char *yaz_oi_get_string_oidval( + +YAZ_EXPORT +char *yaz_oi_get_string_oid ( Z_OtherInformation **otherInformation, - int oidval, int categoryValue, int delete_flag); + const Odr_oid *oid, int categoryValue, int delete_flag); YAZ_END_CDECL