IDZEBRA
2.2.7
|
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <yaz/log.h>
#include <yaz/snprintf.h>
#include <yaz/oid_db.h>
#include <yaz/marcdisp.h>
#include <yaz/readconf.h>
#include <yaz/xmalloc.h>
#include <yaz/tpath.h>
#include <idzebra/data1.h>
Go to the source code of this file.
Functions | |
data1_marctab * | data1_read_marctab (data1_handle dh, const char *file) |
static void | get_data2 (data1_node *n, int *len, char *dst, size_t max) |
static void | memint (char *p, int val, int len) |
static int | is_indicator (data1_marctab *p, data1_node *subf) |
static int | nodetomarc (data1_handle dh, data1_marctab *p, data1_node *n, int selected, char **buf, int *size) |
char * | data1_nodetomarc (data1_handle dh, data1_marctab *p, data1_node *n, int selected, int *len) |
char* data1_nodetomarc | ( | data1_handle | dh, |
data1_marctab * | p, | ||
data1_node * | n, | ||
int | selected, | ||
int * | len | ||
) |
Definition at line 469 of file d1_marc.c.
References data1_get_map_buf(), data1_get_root_tag(), and nodetomarc().
Referenced by zebra_grs_retrieve().
data1_marctab* data1_read_marctab | ( | data1_handle | dh, |
const char * | file | ||
) |
Definition at line 38 of file d1_marc.c.
References data1_nmem_get(), data1_path_fopen(), data1_marctab::force_identifier_length, data1_marctab::force_indicator_length, data1_marctab::future_use, data1_marctab::identifier_length, data1_marctab::implementation_codes, data1_marctab::indicator_length, data1_marctab::length_data_entry, data1_marctab::length_implementation, data1_marctab::length_starting, data1_marctab::name, data1_marctab::next, data1_marctab::oid, data1_marctab::record_status, and data1_marctab::user_systems.
Referenced by data1_read_absyn().
|
static |
Definition at line 179 of file d1_marc.c.
References data1_node::child, data1_node::data, DATA1N_data, DATA1N_tag, data1_node::next, data1_node::u, and data1_node::which.
Referenced by nodetomarc().
|
static |
Definition at line 218 of file d1_marc.c.
References DATA1N_tag, data1_marctab::indicator_length, data1_node::tag, data1_node::u, and data1_node::which.
Referenced by nodetomarc().
|
static |
Definition at line 204 of file d1_marc.c.
Referenced by nodetomarc().
|
static |
Definition at line 226 of file d1_marc.c.
References data1_node::child, data1_pr_tree(), DATA1N_data, DATA1N_tag, data1_marctab::future_use, get_data2(), data1_marctab::identifier_length, data1_marctab::implementation_codes, data1_marctab::indicator_length, is_indicator(), data1_marctab::length_data_entry, data1_marctab::length_implementation, data1_marctab::length_starting, memint(), data1_xattr::name, data1_xattr::next, data1_node::next, data1_marctab::record_status, data1_node::tag, data1_node::u, data1_marctab::user_systems, data1_xattr::value, and data1_node::which.
Referenced by data1_nodetomarc().