X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fhost.h;h=5409f73ba541d2fc653f6c2a1d8ddfd4335c016d;hb=6190e1455b834dcbbd9d6577cc9773f9084c4487;hp=c76702e592271d1026e63b64dc4e1f30f9fa3ade;hpb=ba5951a80fdd0da1d28c318852b69a1178cd6bfa;p=pazpar2-moved-to-github.git diff --git a/src/host.h b/src/host.h index c76702e..5409f73 100644 --- a/src/host.h +++ b/src/host.h @@ -20,12 +20,16 @@ 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; char *ipport; struct connection *connections; // All connections to this struct host *next; + YAZ_MUTEX mutex; + YAZ_COND cond_ready; };