X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsession.h;h=b9fdf02b5dde9ddfd815d65677842ee850ea9c5c;hb=9cc8f4a4d0fd7f1e4bd6c9d5c85ef2dccaab5743;hp=69402ab57953aaadf00e22338e7403ed88b9e046;hpb=c519e4716646be3b24f7d4d3de99e06e423da865;p=yaz-moved-to-github.git diff --git a/src/session.h b/src/session.h index 69402ab..b9fdf02 100644 --- a/src/session.h +++ b/src/session.h @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: session.h,v 1.5 2005-02-01 14:46:47 adam Exp $ + * $Id: session.h,v 1.8 2005-03-08 11:07:49 adam Exp $ */ /** * \file session.h @@ -12,6 +12,7 @@ #define SESSION_H #include +#include #include #include #include @@ -21,10 +22,19 @@ struct gfs_server { statserv_options_block cb; char *host; - int port; + int listen_ref; + cql_transform_t cql_transform; + void *server_node_ptr; + char *directory; struct gfs_server *next; }; +struct gfs_listen { + char *id; + char *address; + struct gfs_listen *next; +}; + typedef enum { REQUEST_IDLE, /* the request is just sitting in the queue */ REQUEST_PENDING /* operation pending (b'end processing or network I/O*/ @@ -97,6 +107,8 @@ typedef struct association struct bend_initrequest *init; statserv_options_block *last_control; + cql_transform_t cql_transform; + void *server_node_ptr; } association; association *create_association(IOCHAN channel, COMSTACK link,