* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: session.h,v 1.5 2005-02-01 14:46:47 adam Exp $
+ * $Id: session.h,v 1.6 2005-03-01 20:37:01 adam Exp $
*/
/**
* \file session.h
#define SESSION_H
#include <yaz/comstack.h>
+#include <yaz/cql.h>
#include <yaz/odr.h>
#include <yaz/oid.h>
#include <yaz/proto.h>
struct gfs_server {
statserv_options_block cb;
char *host;
- int port;
+ int listen_ref;
+ cql_transform_t cql_transform;
struct gfs_server *next;
};
+struct gfs_listen {
+ char *id;
+ char *address;
+ struct gfs_listen *next;
+};
+
typedef enum {
REQUEST_IDLE, /* the request is just sitting in the queue */
REQUEST_PENDING /* operation pending (b'end processing or network I/O*/
struct bend_initrequest *init;
statserv_options_block *last_control;
+ cql_transform_t cql_transform;
} association;
association *create_association(IOCHAN channel, COMSTACK link,