* Copyright (c) 1998-2000, Index Data.
* See the file LICENSE for details.
*
- * $Id: z-assoc.h,v 1.3 2003-10-10 12:37:26 adam Exp $
+ * $Id: z-assoc.h,v 1.5 2003-10-23 11:45:08 adam Exp $
*/
#ifndef YAZ_Z_ASSOC_INCLUDED
/// Begin Z39.50 client role
int client(const char *addr);
/// Begin Z39.50 server role
- void server(const char *addr);
+ int server(const char *addr);
/// Close connection
void close();
/// Decode Z39.50 PDU.
const char *get_hostname();
+ int set_APDU_yazlog(int v);
+
private:
static int yaz_init_flag;
static int yaz_init_func();
FILE *m_APDU_file;
char *m_APDU_fname;
char *m_hostname;
+ int m_APDU_yazlog;
};
#endif