From: Adam Dickmeiss Date: Thu, 15 Nov 2001 21:58:50 +0000 (+0000) Subject: More about ZOOM options. X-Git-Tag: YAZ.1.8.3~8 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=02da040a0671d09dfe19790a53ff6408740e7cde;p=yaz-moved-to-github.git More about ZOOM options. --- diff --git a/doc/zoom.xml b/doc/zoom.xml index 4b62b50..315e78e 100644 --- a/doc/zoom.xml +++ b/doc/zoom.xml @@ -1,4 +1,4 @@ - + Building clients with ZOOM @@ -80,21 +80,21 @@ Z3950_connection_destroy. - const char *Z3950_connection_option (Z3950_connection c, - const char *key, - const char *val); + void Z3950_connection_option_set (Z3950_connection c, + const char *key, + const char *val); + + const char *Z3950_connection_option_get (Z3950_connection c, + const char *key); + const char *Z3950_connection_host (Z3950_connection c); - The Z3950_connection_option allows you to - inspect or set an option given by key - for the connection. - If val is non-NULL that - holds the new value for option. - Otherwise, if val is - NULL, - the option is unchanged. - The function returns the (new) value of the option. + The Z3950_connection_option_set allows you to + set an option given by key to the value + value for the connection. + Function Z3950_connection_option_get returns + the value for an option given by key. ZOOM Connection Options @@ -256,16 +256,20 @@ creating query objects is not necessary. - const char *Z3950_resultset_option (Z3950_resultset r, - const char *key, - const char *val); + void Z3950_resultset_option_set (Z3950_resultset r, + const char *key, + const char *val); + + const char *Z3950_resultset_option_get (Z3950_resultset r, + const char *key); size_t Z3950_resultset_size (Z3950_resultset r); - Function Z3950_resultset_options sets or - modifies an option for a result set similar to - Z3950_connection_option. + Functions Z3950_resultset_options_set and + Z3950_resultset_get sets and gets an option + for a result set similar to Z3950_connection_option_get + and Z3950_connection_option_set. The number of hits also called result-count is returned by @@ -463,7 +467,7 @@ raw The record is returned in the internal YAZ specific format. The raw data is returned as type - Z_External * is just the type for + Z_External * which is just the type for the member retrievalRecord in type NamePlusRecord.