AC_C_INLINE
-YAZ_INIT([static icu server],[4.0.2])
+YAZ_INIT([static icu],[4.0.4])
if test -z "$YAZLIB"; then
AC_MSG_ERROR([YAZ development libraries missing])
fi
Section: net
Priority: extra
Maintainer: Adam Dickmeiss <adam@indexdata.dk>
-Build-Depends: debhelper (>= 5), autotools-dev, libyaz4-dev (>= 4.0.2), docbook-xsl
+Build-Depends: debhelper (>= 5), autotools-dev, libyaz4-dev (>= 4.0.4), docbook-xsl
Standards-Version: 3.7.2
Package: pazpar2
<xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
</xsl:choose>
</pz:metadata>
+ <pz:metadata type="available">
+ <xsl:choose>
+ <xsl:when test="string-length(available)">
+ <xsl:value-of select="available"/>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
<pz:metadata type="publicnote">
<xsl:choose>
<xsl:when test="publicNote">
int client_prep_connection(struct client *cl,
int operation_timeout, int session_timeout,
iochan_man_t iochan,
- const struct timespec *abstime);
+ const struct timeval *abstime);
void client_start_search(struct client *cl);
void client_set_session(struct client *cl, struct session *se);
int client_is_active(struct client *cl);
int client_prep_connection(struct client *cl,
int operation_timeout, int session_timeout,
iochan_man_t iochan_man,
- const struct timespec *abstime)
+ const struct timeval *abstime)
{
struct connection *co;
struct host *host = client_get_host(cl);
int no_working = 0;
int no_failed = 0;
struct client_list *l;
- struct timespec abstime;
struct timeval tval;
yaz_log(YLOG_DEBUG, "Search");
gettimeofday(&tval, 0);
- abstime.tv_sec = tval.tv_sec + 5;
- abstime.tv_nsec = tval.tv_usec * 1000;
+ tval.tv_sec += 5;
for (l = se->clients; l; l = l->next)
{
if (client_prep_connection(cl, se->service->z3950_operation_timeout,
se->service->z3950_session_timeout,
se->service->server->iochan_man,
- &abstime))
+ &tval))
client_start_search(cl);
}
}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Pazpar2 demo client</title>
<link rel="stylesheet" href="styles.css"></link>
<script type="text/javascript" src="/pazpar2/js/pz2.js"></script>
<div id="heading">
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
- <td width="250" height="100" align="center"><b>PAZPAR2</b></td>
+ <td width="250" height="100" align="center"><b>Pazpar2</b></td>
<td>
<form id="searchForm" name="search">
<input id="query" type="text" size="50"/>
#heading {
- background-color: #54d8a8;
+ background-color: #87c9af;
border-top: 1px solid #156a16;
color: #ffffff;
font-size: large;