X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fyaz-z-assoc.cpp;h=f6acc2d16a714710d79a55a9be95922be263999d;hb=e432b52c33a684e9f90627b971d14da6b362daff;hp=f97838a765430bed7c0a9df3eacd01c0b855fd01;hpb=fa96bc0dcc16f6ac3e33b5144664e51cb7d09874;p=yazpp-moved-to-github.git diff --git a/src/yaz-z-assoc.cpp b/src/yaz-z-assoc.cpp index f97838a..f6acc2d 100644 --- a/src/yaz-z-assoc.cpp +++ b/src/yaz-z-assoc.cpp @@ -2,7 +2,7 @@ * Copyright (c) 1998-2007, Index Data. * See the file LICENSE for details. * - * $Id: yaz-z-assoc.cpp,v 1.42 2007-04-16 21:54:23 adam Exp $ + * $Id: yaz-z-assoc.cpp,v 1.44 2008-01-21 15:57:28 adam Exp $ */ #include @@ -292,7 +292,7 @@ int Z_Assoc::client(const char *addr) void Z_Assoc::close() { - m_PDU_Observable->close (); + m_PDU_Observable->close_session(); } int Z_Assoc::server(const char *addr) @@ -376,7 +376,7 @@ void Z_Assoc::get_otherInfoAPDU(Z_APDU *apdu, Z_OtherInformation ***oip) void Z_Assoc::set_otherInformationString( Z_APDU *apdu, - const int *oid, int categoryValue, const char *str) + const Odr_oid *oid, int categoryValue, const char *str) { Z_OtherInformation **otherInformation; get_otherInfoAPDU(apdu, &otherInformation); @@ -388,7 +388,7 @@ void Z_Assoc::set_otherInformationString( void Z_Assoc::set_otherInformationString ( Z_OtherInformation **otherInformation, - const int *oid, int categoryValue, const char *str) + const Odr_oid *oid, int categoryValue, const char *str) { Z_OtherInformationUnit *oi = update_otherInformation(otherInformation, 1, oid, categoryValue, 0); @@ -399,7 +399,7 @@ void Z_Assoc::set_otherInformationString ( Z_OtherInformationUnit *Z_Assoc::update_otherInformation ( Z_OtherInformation **otherInformationP, int createFlag, - const int *oid, int categoryValue, int deleteFlag) + const Odr_oid *oid, int categoryValue, int deleteFlag) { return yaz_oi_update (otherInformationP, (createFlag ? odr_encode() : 0),