X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fhost.h;h=4ab7fe8031c4b84b155fd16bc4730b513c14ed19;hb=c1a0d1230f98bfb0fd88cfc39eec90cbb8782fad;hp=c76702e592271d1026e63b64dc4e1f30f9fa3ade;hpb=ba5951a80fdd0da1d28c318852b69a1178cd6bfa;p=pazpar2-moved-to-github.git diff --git a/src/host.h b/src/host.h index c76702e..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,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; };