projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1a5d172
)
Add ZOOM_connection_option_getl() -- very thin layer.
author
Mike Taylor
<mike@indexdata.com>
Mon, 17 Oct 2005 12:29:44 +0000
(12:29 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Mon, 17 Oct 2005 12:29:44 +0000
(12:29 +0000)
src/zoom-c.c
patch
|
blob
|
history
diff --git
a/src/zoom-c.c
b/src/zoom-c.c
index
130aed4
..
9fa1e49
100644
(file)
--- a/
src/zoom-c.c
+++ b/
src/zoom-c.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: zoom-c.c,v 1.46 2005-08-09 18:29:35 adam Exp $
+ * $Id: zoom-c.c,v 1.47 2005-10-17 12:29:44 mike Exp $
*/
/**
* \file zoom-c.c
*/
/**
* \file zoom-c.c
@@
-1045,7
+1045,7
@@
static zoom_ret ZOOM_connection_send_init (ZOOM_connection c)
ZOOM_options_get(c->options, "implementationName"),
odr_prepend(c->odr_out, "ZOOM-C", ireq->implementationName));
ZOOM_options_get(c->options, "implementationName"),
odr_prepend(c->odr_out, "ZOOM-C", ireq->implementationName));
- version = odr_strdup(c->odr_out, "$Revision: 1.46 $");
+ version = odr_strdup(c->odr_out, "$Revision: 1.47 $");
if (strlen(version) > 10) /* check for unexpanded CVS strings */
version[strlen(version)-2] = '\0';
ireq->implementationVersion = odr_prepend(c->odr_out,
if (strlen(version) > 10) /* check for unexpanded CVS strings */
version[strlen(version)-2] = '\0';
ireq->implementationVersion = odr_prepend(c->odr_out,
@@
-3410,6
+3410,12
@@
ZOOM_connection_option_get (ZOOM_connection c, const char *key)
return ZOOM_options_get (c->options, key);
}
return ZOOM_options_get (c->options, key);
}
+ZOOM_API(const char *)
+ZOOM_connection_option_getl (ZOOM_connection c, const char *key, int *lenp)
+{
+ return ZOOM_options_getl (c->options, key, lenp);
+}
+
ZOOM_API(void)
ZOOM_connection_option_set (ZOOM_connection c, const char *key,
const char *val)
ZOOM_API(void)
ZOOM_connection_option_set (ZOOM_connection c, const char *key,
const char *val)