Fixed bug #2068: pkg-config trouble.
[yaz-moved-to-github.git] / src / session.h
index 96a32e0..21e986f 100644 (file)
@@ -1,8 +1,8 @@
 /*
- * Copyright (C) 1995-2005, Index Data ApS
+ * Copyright (C) 1995-2007, Index Data ApS
  * See the file LICENSE for details.
  *
- * $Id: session.h,v 1.6 2005-03-01 20:37:01 adam Exp $
+ * $Id: session.h,v 1.15 2007-08-13 16:46:19 mike Exp $
  */
 /**
  * \file session.h
 
 #include <yaz/comstack.h>
 #include <yaz/cql.h>
+#include <yaz/ccl.h>
 #include <yaz/odr.h>
-#include <yaz/oid.h>
 #include <yaz/proto.h>
 #include <yaz/backend.h>
+#include <yaz/retrieval.h>
 #include "eventl.h"
 
 struct gfs_server {
@@ -24,6 +25,12 @@ struct gfs_server {
     char *host;
     int listen_ref;
     cql_transform_t cql_transform;
+    CCL_bibset ccl_transform;
+    void *server_node_ptr;
+    char *directory;
+    char *docpath;
+    char *stylesheet;
+    yaz_retrieval_t retrieval;
     struct gfs_server *next;
 };
 
@@ -105,11 +112,12 @@ typedef struct association
 
     struct bend_initrequest *init;
     statserv_options_block *last_control;
-    cql_transform_t cql_transform;
+
+    struct gfs_server *server;
 } association;
 
 association *create_association(IOCHAN channel, COMSTACK link,
-                               const char *apdufile);
+                                const char *apdufile);
 void destroy_association(association *h);
 void ir_session(IOCHAN h, int event);
 
@@ -126,4 +134,14 @@ int statserv_must_terminate(void);
 
 int control_association(association *assoc, const char *host, int force);
 
+int ir_read(IOCHAN h, int event);
+
 #endif
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+