X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fyaz%2B%2B%2Fir-assoc.h;h=a0e7712eb0caf814e68b0de5d7c90cabde55e9be;hb=86726b00b052694e65b036c262f5fe9096554175;hp=aed30c6d009d92fc223cfc18b5ad1ea8b21cfb7f;hpb=28588b9224eb5189af32b10f440ef2a917a05ea2;p=yazpp-moved-to-github.git diff --git a/include/yaz++/ir-assoc.h b/include/yaz++/ir-assoc.h index aed30c6..a0e7712 100644 --- a/include/yaz++/ir-assoc.h +++ b/include/yaz++/ir-assoc.h @@ -2,12 +2,13 @@ * Copyright (c) 1998-2000, Index Data. * See the file LICENSE for details. * - * $Id: ir-assoc.h,v 1.2 2003-10-01 13:13:51 adam Exp $ + * $Id: ir-assoc.h,v 1.4 2005-06-02 06:40:21 adam Exp $ */ #include #include +namespace yazpp_1 { /** Information Retrieval Assocation. This object implements the client - and server role of a generic Z39.50 Association. @@ -20,6 +21,7 @@ class YAZ_EXPORT Yaz_IR_Assoc: public Yaz_Z_Assoc { virtual ~Yaz_IR_Assoc(); /// Receive Z39.50 PDU void recv_Z_PDU(Z_APDU *apdu, int len); + void recv_GDU(Z_GDU *apdu, int len); /// Set Database Names void set_databaseNames (int num, const char **list); void set_databaseNames(const char *dblist, const char *sep); @@ -77,3 +79,4 @@ class YAZ_EXPORT Yaz_IR_Assoc: public Yaz_Z_Assoc { int m_lastReceived; int m_log; }; +};