IDZEBRA  2.2.7
Data Structures | Functions
d1_map.c File Reference
#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_maptabdata1_read_maptab (data1_handle dh, const char *file)
 
static int tagmatch (data1_node *n, data1_maptag *t)
 
static data1_nodedup_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_nodedata1_map_record (data1_handle dh, data1_node *n, data1_maptab *map, NMEM m)
 

Function Documentation

◆ data1_map_record()

data1_node* data1_map_record ( data1_handle  dh,
data1_node n,
data1_maptab map,
NMEM  m 
)

◆ data1_read_maptab()

data1_maptab* data1_read_maptab ( data1_handle  dh,
const char *  file 
)

◆ dup_child()

static data1_node* dup_child ( data1_handle  dh,
data1_node n,
data1_node **  last,
NMEM  mem,
data1_node parent 
)
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().

◆ map_children()

static int map_children ( data1_handle  dh,
data1_node n,
data1_maptab map,
data1_node res,
NMEM  mem 
)
static

◆ tagmatch()

static int tagmatch ( data1_node n,
data1_maptag t 
)
static