Implements Z39.50 Init Options Utility. More...
#include <yaz/proto.h>Go to the source code of this file.
Functions | |
| int | yaz_init_opt_encode (Z_Options *opt, const char *opt_str, int *error_pos) |
| Encodes Z39.50 Init OPtions based on string mnemonics. | |
| void | yaz_init_opt_decode (Z_Options *opt, void(*pr)(const char *name, void *clientData), void *clientData) |
| Decodes Z39.50 Init Options - for printing. | |
Variables | |
| struct { | |
| char * name | |
| int opt | |
| } | opt_array [] |
Implements Z39.50 Init Options Utility.
Definition in file initopt.c.
| void yaz_init_opt_decode | ( | Z_Options * | opt, | |
| void(*)(const char *name, void *clientData) | pr, | |||
| void * | clientData | |||
| ) |
Decodes Z39.50 Init Options - for printing.
Definition at line 84 of file initopt.c.
References ODR_MASK_GET, and opt_array.
Referenced by recv_apdu().
| int yaz_init_opt_encode | ( | Z_Options * | opt, | |
| const char * | opt_str, | |||
| int * | error_pos | |||
| ) |
Encodes Z39.50 Init OPtions based on string mnemonics.
Definition at line 45 of file initopt.c.
References name, ODR_MASK_SET, ODR_MASK_ZERO, opt_array, and yaz_matchstr().
| char* name |
Definition at line 18 of file initopt.c.
Referenced by ccl_xml_config_combqual(), ccl_xml_config_directive(), ccl_xml_config_qual(), cql_pr_prox(), element_attribute_value_extract(), xml_config_read(), yaz_encode_sru_extra(), yaz_init_opt_encode(), yaz_log_init_level(), yaz_log_to_file(), yaz_sru_get_encode(), yaz_sru_post_encode(), and ztest_search().
| int opt |
Definition at line 19 of file initopt.c.
Referenced by ZOOM_options_create_with_parent2().
struct { ... } opt_array[] [static] |
Referenced by yaz_init_opt_decode(), and yaz_init_opt_encode().
1.6.3