* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
- * $Log: yaz-z-assoc.h,v $
- * Revision 1.1 1999-04-09 11:47:23 adam
- * Added object Yaz_Z_Assoc. Much more functional client.
- *
+ * $Id: yaz-z-assoc.h,v 1.4 1999-09-13 12:53:44 adam Exp $
*/
#include <proto.h>
void failNotify();
/// Timeout notification
void timeoutNotify();
+ /// Timeout specify
+ void timeout(int timeout);
/// Begin Z39.50 client role
void client(const char *addr);
/// Begin Z39.50 server role
Z_APDU *create_Z_PDU(int type);
/// Request Alloc
ODR odr_encode ();
+ ODR odr_decode ();
+ ODR odr_print ();
+
+ /// OtherInformation
+ void get_otherInfoAPDU(Z_APDU *apdu, Z_OtherInformation ***oip);
+ Z_OtherInformationUnit *update_otherInformation (
+ Z_OtherInformation **otherInformationP, int createFlag,
+ int *oid, int categoryValue, int deleteFlag);
+ void set_otherInformationString (
+ Z_OtherInformation **otherInformationP,
+ int *oid, int categoryValue,
+ const char *str);
+ void set_otherInformationString (
+ Z_OtherInformation **otherInformation,
+ int oidval, int categoryValue,
+ const char *str);
+ void set_otherInformationString (
+ Z_APDU *apdu,
+ int oidval, int categoryValue,
+ const char *str);
+ void set_apdu_log(const char *file);
private:
static int yaz_init_flag;
static int yaz_init_func();