X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fsession.h;h=6ac5299f20711a8813dce9e0cb7c4cc6a27e5b98;hp=69b1add7b048f27c38526fcc2876362e68e5f52c;hb=3ee7ef4088b265faffbdcabe3eb13d5f04a3b832;hpb=7857ed3da7f4c6ed8bd99ad567cb3999b83b2c53 diff --git a/src/session.h b/src/session.h index 69b1add..6ac5299 100644 --- a/src/session.h +++ b/src/session.h @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995-2005, Index Data ApS + * Copyright (C) 1995-2006, Index Data ApS * See the file LICENSE for details. * - * $Id: session.h,v 1.7 2005-03-03 23:16:20 adam Exp $ + * $Id: session.h,v 1.11 2006-05-07 14:48:25 adam Exp $ */ /** * \file session.h @@ -17,6 +17,7 @@ #include #include #include +#include #include "eventl.h" struct gfs_server { @@ -25,6 +26,10 @@ struct gfs_server { int listen_ref; cql_transform_t cql_transform; void *server_node_ptr; + char *directory; + char *docpath; + char *stylesheet; + yaz_retrieval_t retrieval; struct gfs_server *next; }; @@ -106,12 +111,12 @@ typedef struct association struct bend_initrequest *init; statserv_options_block *last_control; - cql_transform_t cql_transform; - void *server_node_ptr; + + 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); @@ -129,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 + */ +