IDZEBRA  2.1.2
Functions
d1_marc.c File Reference
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <yaz/log.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_marctabdata1_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)
 

Function Documentation

char* data1_nodetomarc ( data1_handle  dh,
data1_marctab p,
data1_node n,
int  selected,
int *  len 
)

Definition at line 468 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 
)
static void get_data2 ( data1_node n,
int *  len,
char *  dst,
size_t  max 
)
static
static int is_indicator ( data1_marctab p,
data1_node subf 
)
static
static void memint ( char *  p,
int  val,
int  len 
)
static

Definition at line 204 of file d1_marc.c.

Referenced by nodetomarc().

static int nodetomarc ( data1_handle  dh,
data1_marctab p,
data1_node n,
int  selected,
char **  buf,
int *  size 
)
static