GFS: Allow multiple listenrefs YAZ-554
[yaz-moved-to-github.git] / src / session.h
index c66676f..90ee0b1 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data.
+ * Copyright (C) 1995-2013 Index Data.
  * All rights reserved.
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -43,7 +43,8 @@
 struct gfs_server {
     statserv_options_block cb;
     char *host;
-    int listen_ref;
+    char *id;
+    int *listen_ref;
     cql_transform_t cql_transform;
     CCL_bibset ccl_transform;
     void *server_node_ptr;
@@ -80,7 +81,7 @@ typedef struct request
 
     void *clientData;
     struct request *next;
-    struct request_q *q; 
+    struct request_q *q;
 } request;
 
 typedef struct request_q