From: Adam Dickmeiss Date: Tue, 11 Sep 2007 16:36:51 +0000 (+0000) Subject: ZOOM C announces SRU version 1.2. X-Git-Tag: YAZ.3.0.12~2 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=a37c6b37804b2cad867b2740488f50e96007ba65;p=yaz-moved-to-github.git ZOOM C announces SRU version 1.2. --- diff --git a/doc/zoom.xml b/doc/zoom.xml index 87089ee..8c99869 100644 --- a/doc/zoom.xml +++ b/doc/zoom.xml @@ -20,7 +20,7 @@ ZOOM_options_set_int(opt, name, value) ZOOM_connection_scan1 (ZOOM_connection c, ZOOM_query startterm) ZOOM_query_cql2rpn(ZOOM_query s, const char *str, ZOOM_connection conn) --> - + ZOOM &zoom; is an acronym for 'Z39.50 Object-Orientation Model' and is @@ -274,7 +274,7 @@ ZOOM_query_cql2rpn(ZOOM_query s, const char *str, ZOOM_connection conn) to offer (highest version). And following connect (in fact first operation), holds the negotiated version with the server (same or lower version). - 1.1 + 1.2 diff --git a/src/zoom-c.c b/src/zoom-c.c index e497718..8d45ee4 100644 --- a/src/zoom-c.c +++ b/src/zoom-c.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: zoom-c.c,v 1.148 2007-09-11 08:40:28 adam Exp $ + * $Id: zoom-c.c,v 1.149 2007-09-11 16:36:51 adam Exp $ */ /** * \file zoom-c.c @@ -399,7 +399,7 @@ ZOOM_API(ZOOM_connection) c->m_queue_front = 0; c->m_queue_back = 0; - c->sru_version = xstrdup("1.1"); + c->sru_version = 0; return c; } @@ -548,7 +548,7 @@ ZOOM_API(void) xfree(c->sru_version); val = ZOOM_options_get(c->options, "sru_version"); - c->sru_version = xstrdup(val ? val : "1.1"); + c->sru_version = xstrdup(val ? val : "1.2"); ZOOM_options_set(c->options, "host", c->host_port); @@ -1356,7 +1356,7 @@ static zoom_ret ZOOM_connection_send_init(ZOOM_connection c) odr_prepend(c->odr_out, "ZOOM-C", ireq->implementationName)); - version = odr_strdup(c->odr_out, "$Revision: 1.148 $"); + version = odr_strdup(c->odr_out, "$Revision: 1.149 $"); if (strlen(version) > 10) /* check for unexpanded CVS strings */ version[strlen(version)-2] = '\0'; ireq->implementationVersion =