Pazpar2 1.4.4-2 for squeeze
[pazpar2-moved-to-github.git] / src / host.h
index 5964af5..5409f73 100644 (file)
@@ -20,6 +20,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #ifndef HOST_H
 #define HOST_H
 
+#include <yaz/mutex.h>
+
 /** \brief Represents a host (irrespective of databases) */
 struct host {
     char *hostport;
@@ -27,6 +29,7 @@ struct host {
     struct connection *connections; // All connections to this
     struct host *next;
     YAZ_MUTEX mutex;
+    YAZ_COND cond_ready;
 };