Added support for file access in GFS to facilitate static
[yaz-moved-to-github.git] / src / session.h
index 96a32e0..b3f044a 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 1995-2005, 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.10 2006-03-15 13:32:05 adam Exp $
  */
 /**
  * \file session.h
@@ -24,6 +24,10 @@ struct gfs_server {
     char *host;
     int listen_ref;
     cql_transform_t cql_transform;
+    void *server_node_ptr;
+    char *directory;
+    char *docpath;
+    char *stylesheet;
     struct gfs_server *next;
 };
 
@@ -106,10 +110,13 @@ typedef struct association
     struct bend_initrequest *init;
     statserv_options_block *last_control;
     cql_transform_t cql_transform;
+    void *server_node_ptr;
+    const char *docpath;
+    const char *stylesheet;
 } 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);
 
@@ -127,3 +134,11 @@ int statserv_must_terminate(void);
 int control_association(association *assoc, const char *host, int force);
 
 #endif
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+