ZOOM_connection_errcode(c)
ZOOM_connection_errmsg(c)
ZOOM_connection_addinfo(c)
+ZOOM_connection_addinfo(c)
+ZOOM_connection_diagset(c);
ZOOM_diag_str(error)
ZOOM_resultset_record_immediate(s, pos)
ZOOM_resultset_cache_reset(r)
ZOOM_options_get_int(opt, name, defa)
ZOOM_options_set_int(opt, name, value)
-->
-<!-- $Id: zoom.xml,v 1.43 2005-11-08 21:53:01 adam Exp $ -->
+<!-- $Id: zoom.xml,v 1.44 2005-11-16 16:04:19 mike Exp $ -->
<chapter id="zoom"><title>ZOOM</title>
<para>
&zoom; is an acronym for 'Z39.50 Object-Orientation Model' and is
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: zoom.h,v 1.29 2005-11-08 16:51:34 mike Exp $
+ * $Id: zoom.h,v 1.30 2005-11-16 16:03:51 mike Exp $
*/
/**
* \file zoom.h
/* returns additional info */
ZOOM_API(const char *)
ZOOM_connection_addinfo (ZOOM_connection c);
+/* returns diagnostic set */
+ZOOM_API(const char *)
+ZOOM_connection_diagset (ZOOM_connection c);
/* translates error code into human-readable string */
ZOOM_API(const char *)
ZOOM_diag_str (int error);
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: zoom-c.c,v 1.51 2005-11-08 16:52:29 mike Exp $
+ * $Id: zoom-c.c,v 1.52 2005-11-16 16:07:52 mike Exp $
*/
/**
* \file zoom-c.c
ZOOM_options_get(c->options, "implementationName"),
odr_prepend(c->odr_out, "ZOOM-C", ireq->implementationName));
- version = odr_strdup(c->odr_out, "$Revision: 1.51 $");
+ version = odr_strdup(c->odr_out, "$Revision: 1.52 $");
if (strlen(version) > 10) /* check for unexpanded CVS strings */
version[strlen(version)-2] = '\0';
ireq->implementationVersion = odr_prepend(c->odr_out,
}
ZOOM_API(const char *)
+ZOOM_connection_diagset (ZOOM_connection c)
+{
+ const char *diagset;
+ ZOOM_connection_error_x (c, 0, 0, &diagset);
+ return diagset;
+}
+
+ZOOM_API(const char *)
ZOOM_diag_str (int error)
{
switch (error)