X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsession.h;h=21e986fd23671fd88e292c2f0adcef2787d32270;hb=3b792849c676d96918850e2f1e0af87a75278501;hp=b9fdf02b5dde9ddfd815d65677842ee850ea9c5c;hpb=49566a6ea1cc01c896584427ce1d327f7cd2be7e;p=yaz-moved-to-github.git diff --git a/src/session.h b/src/session.h index b9fdf02..21e986f 100644 --- a/src/session.h +++ b/src/session.h @@ -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.8 2005-03-08 11:07:49 adam Exp $ + * $Id: session.h,v 1.15 2007-08-13 16:46:19 mike Exp $ */ /** * \file session.h @@ -13,10 +13,11 @@ #include #include +#include #include -#include #include #include +#include #include "eventl.h" struct gfs_server { @@ -24,8 +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; }; @@ -107,12 +112,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,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 + */ +