From: Mike Taylor Date: Mon, 12 Dec 2005 12:09:29 +0000 (+0000) Subject: Describe new options-within-host-string syntax: X-Git-Tag: YAZ.2.1.12~50 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=afbca314053ad3d8aaf5e83d27d54b48bf10bfa9;ds=sidebyside Describe new options-within-host-string syntax: user=admin,password=halfAm4n,tcp:localhost:8017/db --- 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.