projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
[pazpar2-moved-to-github.git]
/
src
/
host.h
diff --git
a/src/host.h
b/src/host.h
index
5964af5
..
5409f73
100644
(file)
--- a/
src/host.h
+++ b/
src/host.h
@@
-20,6
+20,8
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#ifndef HOST_H
#define HOST_H
#ifndef HOST_H
#define HOST_H
+#include <yaz/mutex.h>
+
/** \brief Represents a host (irrespective of databases) */
struct host {
char *hostport;
/** \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;
struct connection *connections; // All connections to this
struct host *next;
YAZ_MUTEX mutex;
+ YAZ_COND cond_ready;
};
};