From afbca314053ad3d8aaf5e83d27d54b48bf10bfa9 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Mon, 12 Dec 2005 12:09:29 +0000 Subject: [PATCH] Describe new options-within-host-string syntax: user=admin,password=halfAm4n,tcp:localhost:8017/db --- doc/zoom.xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/zoom.xml b/doc/zoom.xml index 5ca4272..4c697ae 100644 --- a/doc/zoom.xml +++ b/doc/zoom.xml @@ -18,7 +18,7 @@ ZOOM_options_get_bool(opt, name, defa) ZOOM_options_get_int(opt, name, defa) ZOOM_options_set_int(opt, name, value) --> - + ZOOM &zoom; is an acronym for 'Z39.50 Object-Orientation Model' and is @@ -109,6 +109,17 @@ ZOOM_options_set_int(opt, name, value) The scheme http selects SRW over HTTP. + You can prefix the scheme-qualified host-string with one or more + comma-separated + key=value + sequences, each of which represents an option to be set into the + connection structure before the + protocol-level connection is forged and the initialisation + handshake takes place. This facility can be used to provide + authentication credentials, as in host-strings such as: + user=admin,password=halfAm4n,tcp:localhost:8017/db + + Connection objects should be destroyed using the function ZOOM_connection_destroy. -- 1.7.10.4