Added explain facility for frontend server XML config. Renamed
[yaz-moved-to-github.git] / src / session.h
index 69402ab..69b1add 100644 (file)
@@ -2,7 +2,7 @@
  * 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.7 2005-03-03 23:16:20 adam Exp $
  */
 /**
  * \file session.h
@@ -12,6 +12,7 @@
 #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;
+    void *server_node_ptr;
     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*/
@@ -97,6 +106,8 @@ typedef struct association
 
     struct bend_initrequest *init;
     statserv_options_block *last_control;
+    cql_transform_t cql_transform;
+    void *server_node_ptr;
 } association;
 
 association *create_association(IOCHAN channel, COMSTACK link,