X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fhost.h;h=4ab7fe8031c4b84b155fd16bc4730b513c14ed19;hb=01468c84307b0f00ff79112b3dd9723b11544e89;hp=5964af500856fa196068eb903b4b396bf1e733c3;hpb=03b971ecc3f02f7ac261f31db434176c6237abfb;p=pazpar2-moved-to-github.git diff --git a/src/host.h b/src/host.h index 5964af5..4ab7fe8 100644 --- a/src/host.h +++ b/src/host.h @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2010 Index Data + Copyright (C) 2006-2011 Index Data Pazpar2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -20,6 +20,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #ifndef HOST_H #define HOST_H +#include + /** \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; };