X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz-ir-assoc.h;h=3a0414996f3849a494c8a2b2eaf2038017e42bd2;hb=cc44793fb69db2885c570cc5de05fda796993bba;hp=e615c0adab6255ebeeb6bf5a4d6f19808010e129;hpb=bf377ba45c8c1cbcf843fdecc6d5c68fda6bad18;p=yazpp-moved-to-github.git diff --git a/include/yaz-ir-assoc.h b/include/yaz-ir-assoc.h index e615c0a..3a04149 100644 --- a/include/yaz-ir-assoc.h +++ b/include/yaz-ir-assoc.h @@ -4,8 +4,15 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: yaz-ir-assoc.h,v $ - * Revision 1.1 1999-01-28 09:41:07 adam - * Initial revision + * Revision 1.3 1999-02-02 14:01:12 adam + * First WIN32 port of YAZ++. + * + * Revision 1.2 1999/01/28 13:08:39 adam + * Yaz_PDU_Assoc better encapsulated. Memory leak fix in + * yaz-socket-manager.cc. + * + * Revision 1.1.1.1 1999/01/28 09:41:07 adam + * First implementation of YAZ++. * */ @@ -17,8 +24,8 @@ /** Information Retrieval Assocation. This object implements the client - and server role of a generic Z39.50 Association. - */ -class Yaz_IR_Assoc : public IYaz_PDU_Observer { +*/ +class YAZ_EXPORT Yaz_IR_Assoc : public IYaz_PDU_Observer { public: /// Create object using the PDU Observer specified Yaz_IR_Assoc(IYaz_PDU_Observable *the_PDU_Observable); @@ -43,7 +50,9 @@ class Yaz_IR_Assoc : public IYaz_PDU_Observer { /// Receive Z39.50 PDU virtual void recv_Z_PDU (Z_APDU *apdu) = 0; /// Create Z39.50 with reasonable defaults - Z_APDU *create_Z_PDU(int type); + Z_APDU *create_Z_PDU(int type); + static int yaz_init_flag; + static int yaz_init_func(); private: IYaz_PDU_Observable *m_PDU_Observable; ODR m_odr_in;