X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=doc%2Fzoom.xml;h=315e78e1a1e56914d6750bdbfd90477f541c882b;hp=4b62b508972fe65286469f67a6b28b7de0f9a7c1;hb=02da040a0671d09dfe19790a53ff6408740e7cde;hpb=5a7dc8a6745f24127f408db53cdc613fb6a41b1f 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.