YAZ
5.34.0
|
Implements ZOOM options handling. More...
Go to the source code of this file.
Data Structures | |
struct | ZOOM_options_entry |
struct | ZOOM_options_p |
Implements ZOOM options handling.
Definition in file zoom-opt.c.
|
static |
Definition at line 48 of file zoom-opt.c.
References ZOOM_options_entry::len, name, set_value(), ZOOM_options_entry::value, xmalloc, and xstrdup.
Referenced by ZOOM_options_dup(), and ZOOM_options_setl().
|
static |
Definition at line 34 of file zoom-opt.c.
References ZOOM_options_entry::len, ZOOM_options_entry::value, and xmalloc.
Referenced by append_entry(), and ZOOM_options_setl().
void ZOOM_options_addref | ( | ZOOM_options | opt | ) |
Definition at line 113 of file zoom-opt.c.
References opt.
ZOOM_options_create | ( | void | ) |
Definition at line 87 of file zoom-opt.c.
References ZOOM_options_create_with_parent().
Referenced by ZOOM_options_dup().
ZOOM_options_create_with_parent | ( | ZOOM_options | parent | ) |
Definition at line 81 of file zoom-opt.c.
References ZOOM_options_create_with_parent2().
Referenced by ZOOM_connection_create(), ZOOM_connection_scan1(), ZOOM_connection_search(), and ZOOM_options_create().
ZOOM_options_create_with_parent2 | ( | ZOOM_options | parent1, |
ZOOM_options | parent2 | ||
) |
Definition at line 94 of file zoom-opt.c.
Referenced by ZOOM_connection_package(), and ZOOM_options_create_with_parent().
ZOOM_options_destroy | ( | ZOOM_options | opt | ) |
Definition at line 134 of file zoom-opt.c.
References ZOOM_options_entry::name, ZOOM_options_entry::next, opt, ZOOM_options_entry::value, xfree, and ZOOM_options_destroy().
Referenced by resultset_destroy(), ZOOM_connection_destroy(), ZOOM_options_destroy(), ZOOM_package_destroy(), and ZOOM_scanset_destroy().
ZOOM_options_dup | ( | ZOOM_options | src | ) |
Definition at line 58 of file zoom-opt.c.
References append_entry(), ZOOM_options_entry::len, ZOOM_options_entry::name, ZOOM_options_entry::next, ZOOM_options_entry::value, ZOOM_options_create(), and ZOOM_options_dup().
Referenced by ZOOM_options_dup().
ZOOM_options_get | ( | ZOOM_options | opt, |
const char * | name | ||
) |
Definition at line 216 of file zoom-opt.c.
References name, opt, and ZOOM_options_getl().
Referenced by create_es_package(), create_update_package(), encode_item_order(), ill_array_lookup(), otherInfo_attach(), send_srw(), Z3950_send_search(), ZOOM_connection_connect(), ZOOM_connection_get_databases(), ZOOM_connection_option_get(), ZOOM_connection_search(), ZOOM_connection_srw_send_scan(), ZOOM_connection_Z3950_send_init(), ZOOM_connection_Z3950_send_scan(), ZOOM_memcached_configure(), ZOOM_options_get_bool(), ZOOM_options_get_int(), ZOOM_package_option_get(), ZOOM_resultset_option_get(), ZOOM_resultset_record_immediate(), ZOOM_resultset_retrieve(), and ZOOM_scanset_option_get().
ZOOM_options_get_bool | ( | ZOOM_options | opt, |
const char * | name, | ||
int | defa | ||
) |
Definition at line 223 of file zoom-opt.c.
References name, opt, and ZOOM_options_get().
Referenced by ZOOM_connection_connect(), and ZOOM_connection_search().
ZOOM_options_get_int | ( | ZOOM_options | opt, |
const char * | name, | ||
int | defa | ||
) |
Definition at line 235 of file zoom-opt.c.
References name, opt, and ZOOM_options_get().
Referenced by Z3950_send_search(), ZOOM_connection_connect(), ZOOM_connection_search(), ZOOM_connection_srw_send_scan(), and ZOOM_connection_Z3950_send_scan().
ZOOM_options_getl | ( | ZOOM_options | opt, |
const char * | name, | ||
int * | lenp | ||
) |
Definition at line 186 of file zoom-opt.c.
References ZOOM_options_entry::len, name, ZOOM_options_entry::name, ZOOM_options_entry::next, opt, ZOOM_options_entry::value, and ZOOM_options_getl().
Referenced by create_update_package(), create_xmlupdate_package(), encode_item_order(), ZOOM_connection_option_getl(), ZOOM_options_get(), ZOOM_options_getl(), and ZOOM_package_option_getl().
ZOOM_options_set | ( | ZOOM_options | opt, |
const char * | name, | ||
const char * | value | ||
) |
Definition at line 180 of file zoom-opt.c.
References name, opt, ZOOM_options_entry::value, and ZOOM_options_setl().
Referenced by es_response_taskpackage(), es_response_taskpackage_update(), es_response_taskpackage_update0(), handle_queryExpressionTerm(), handle_Z3950_es_response(), handle_Z3950_search_response(), Z3950_send_search(), ZOOM_connection_connect(), ZOOM_connection_option_set(), ZOOM_connection_srw_send_search(), ZOOM_handle_search_result(), ZOOM_handle_sru(), ZOOM_options_set_int(), ZOOM_package_option_set(), ZOOM_resultset_option_set(), and ZOOM_scanset_option_set().
ZOOM_options_set_callback | ( | ZOOM_options | opt, |
ZOOM_options_callback | callback_func, | ||
void * | callback_handle | ||
) |
Definition at line 119 of file zoom-opt.c.
References opt.
ZOOM_options_set_int | ( | ZOOM_options | opt, |
const char * | name, | ||
int | value | ||
) |
Definition at line 245 of file zoom-opt.c.
References name, opt, ZOOM_options_entry::value, and ZOOM_options_set().
Referenced by handle_queryExpressionTerm(), handle_srw_scan_response(), handle_Z3950_es_response(), handle_Z3950_scan_response(), handle_Z3950_search_response(), and ZOOM_handle_search_result().
ZOOM_options_setl | ( | ZOOM_options | opt, |
const char * | name, | ||
const char * | value, | ||
int | len | ||
) |
Definition at line 160 of file zoom-opt.c.
References append_entry(), ZOOM_options_entry::len, name, ZOOM_options_entry::next, opt, set_value(), ZOOM_options_entry::value, and xfree.
Referenced by es_response_taskpackage(), handle_queryExpressionTerm(), handle_Z3950_es_response(), ZOOM_connection_option_setl(), ZOOM_handle_sru(), ZOOM_options_set(), and ZOOM_package_option_setl().