IDZEBRA
2.2.7
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <yaz/log.h>
#include <yaz/oid_db.h>
#include <yaz/snprintf.h>
#include <yaz/readconf.h>
#include <yaz/tpath.h>
#include <d1_absyn.h>
Go to the source code of this file.
Data Structures | |
struct | data1_mapunit |
Functions | |
data1_maptab * | data1_read_maptab (data1_handle dh, const char *file) |
static int | tagmatch (data1_node *n, data1_maptag *t) |
static data1_node * | dup_child (data1_handle dh, data1_node *n, data1_node **last, NMEM mem, data1_node *parent) |
static int | map_children (data1_handle dh, data1_node *n, data1_maptab *map, data1_node *res, NMEM mem) |
data1_node * | data1_map_record (data1_handle dh, data1_node *n, data1_maptab *map, NMEM m) |
data1_node* data1_map_record | ( | data1_handle | dh, |
data1_node * | n, | ||
data1_maptab * | map, | ||
NMEM | m | ||
) |
Definition at line 322 of file d1_map.c.
References data1_node::child, data1_get_absyn(), data1_mk_node2(), data1_mk_tag(), DATA1_XPATH_INDEXING_ENABLE, DATA1N_root, DATA1N_tag, map_children(), data1_maptab::name, data1_node::next, data1_node::root, data1_maptab::target_absyn_name, data1_node::u, and data1_node::which.
Referenced by zebra_grs_retrieve().
data1_maptab* data1_read_maptab | ( | data1_handle | dh, |
const char * | file | ||
) |
Definition at line 43 of file d1_map.c.
References d1_isdigit, D1_MAPTAG_numeric, D1_MAPTAG_string, data1_matchstr, data1_nmem_get(), data1_path_fopen(), data1_maptab::map, data1_maptab::name, data1_mapunit::next, data1_maptag::next, data1_maptab::next, data1_mapunit::no_data, data1_maptab::oid, data1_maptab::target_absyn_name, and data1_maptag::type.
Referenced by data1_read_absyn().
|
static |
Definition at line 224 of file d1_map.c.
References data1_node::child, data1_node::last_child, data1_node::next, and data1_node::root.
Referenced by map_children().
|
static |
Definition at line 245 of file d1_map.c.
References data1_node::child, D1_MAPTAG_numeric, D1_MAPTAG_string, data1_chop_text(), data1_concat_text(), data1_gettagbynum(), data1_matchstr, data1_mk_node2(), data1_mk_tag(), DATA1N_tag, dup_child(), data1_node::last_child, data1_maptab::map, data1_name::name, data1_tag::names, data1_maptag::new_field, data1_mapunit::next, data1_maptag::next, data1_node::next, data1_mapunit::no_chop, data1_mapunit::no_data, data1_maptag::numeric, data1_node::root, data1_mapunit::source_element_name, data1_maptag::string, data1_node::tag, tagmatch(), data1_mapunit::target_path, data1_maptag::type, data1_node::u, data1_maptag::value, data1_maptag::which, and data1_node::which.
Referenced by data1_map_record().
|
static |
Definition at line 175 of file d1_map.c.
References D1_MAPTAG_numeric, D1_MAPTAG_string, data1_matchstr, DATA1N_tag, DATA1T_numeric, data1_maptag::numeric, data1_maptag::string, data1_node::tag, data1_maptag::type, data1_node::u, data1_maptag::value, data1_maptag::which, and data1_node::which.
Referenced by map_children().