#ifndef HOST_H
#define HOST_H
+#include <yaz/mutex.h>
+
/** \brief Represents a host (irrespective of databases) */
struct host {
char *hostport;
char *ipport;
struct connection *connections; // All connections to this
struct host *next;
+ YAZ_MUTEX mutex;
+ YAZ_COND cond_ready;
};