From: Mike Taylor Date: Mon, 17 Oct 2005 12:25:04 +0000 (+0000) Subject: Add ZOOM_connection_option_getl() and ZOOM_options_getl() X-Git-Tag: YAZ.2.1.10~43 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=3a12e23d93ba2aadcddefc74ebe02b90f53381c3;p=yaz-moved-to-github.git Add ZOOM_connection_option_getl() and ZOOM_options_getl() --- diff --git a/include/yaz/zoom.h b/include/yaz/zoom.h index 4dcf792..ecdeabd 100644 --- a/include/yaz/zoom.h +++ b/include/yaz/zoom.h @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: zoom.h,v 1.27 2005-10-11 18:24:33 adam Exp $ + * $Id: zoom.h,v 1.28 2005-10-17 12:25:04 mike Exp $ */ /** * \file zoom.h @@ -61,6 +61,9 @@ ZOOM_connection_destroy (ZOOM_connection c); ZOOM_API(const char *) ZOOM_connection_option_get (ZOOM_connection c, const char *key); +ZOOM_API(const char *) +ZOOM_connection_option_getl (ZOOM_connection c, const char *key, int *lenp); + ZOOM_API(void) ZOOM_connection_option_set (ZOOM_connection c, const char *key, const char *val); @@ -265,6 +268,9 @@ ZOOM_API(ZOOM_options) ZOOM_API(const char *) ZOOM_options_get (ZOOM_options opt, const char *name); +ZOOM_API(const char *) +ZOOM_options_getl (ZOOM_options opt, const char *name, int *lenp); + ZOOM_API(void) ZOOM_options_set (ZOOM_options opt, const char *name, const char *v);