X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsession.h;h=42573babc8dd0c4173c85bb4da9cf5c15c602315;hb=be821514c869d68186361b5aab6bbfd1aa60e087;hp=f6070d15e18b747e6a1d02cc2dd1bb34926acc79;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505;p=yaz-moved-to-github.git diff --git a/src/session.h b/src/session.h index f6070d1..42573ba 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.9 2005-06-25 15:46:05 adam Exp $ + * $Id: session.h,v 1.14 2007-04-12 13:52:57 adam Exp $ */ /** * \file session.h @@ -14,9 +14,9 @@ #include #include #include -#include #include #include +#include #include "eventl.h" struct gfs_server { @@ -26,6 +26,9 @@ struct gfs_server { cql_transform_t cql_transform; void *server_node_ptr; char *directory; + char *docpath; + char *stylesheet; + yaz_retrieval_t retrieval; struct gfs_server *next; }; @@ -107,8 +110,8 @@ 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, @@ -129,6 +132,8 @@ 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: