IDZEBRA  2.1.2
Data Structures | Macros | Functions
d1_handle.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <yaz/log.h>
#include <idzebra/data1.h>

Go to the source code of this file.

Data Structures

struct  data1_handle_info
 

Macros

#define DATA1_FLAG_XML   1
 

Functions

data1_handle data1_create (void)
 
NMEM data1_nmem_get (data1_handle dh)
 
data1_absyn_cachedata1_absyn_cache_get (data1_handle dh)
 
data1_attset_cachedata1_attset_cache_get (data1_handle dh)
 
void data1_destroy (data1_handle dh)
 
WRBUF data1_get_wrbuf (data1_handle dp)
 
char ** data1_get_read_buf (data1_handle dp, int **lenp)
 
char ** data1_get_map_buf (data1_handle dp, int **lenp)
 
void data1_set_tabpath (data1_handle dp, const char *p)
 
void data1_set_tabroot (data1_handle dp, const char *p)
 
const char * data1_get_tabpath (data1_handle dp)
 
const char * data1_get_tabroot (data1_handle dp)
 
FILE * data1_path_fopen (data1_handle dh, const char *file, const char *mode)
 
int data1_is_xmlmode (data1_handle dh)
 

Macro Definition Documentation

#define DATA1_FLAG_XML   1

Definition at line 29 of file d1_handle.c.

Function Documentation

data1_absyn_cache* data1_absyn_cache_get ( data1_handle  dh)
data1_attset_cache* data1_attset_cache_get ( data1_handle  dh)
data1_handle data1_create ( void  )
void data1_destroy ( data1_handle  dh)
char** data1_get_map_buf ( data1_handle  dp,
int **  lenp 
)

Definition at line 118 of file d1_handle.c.

References data1_handle_info::map_buf, and data1_handle_info::map_len.

Referenced by data1_nodetomarc().

char** data1_get_read_buf ( data1_handle  dp,
int **  lenp 
)

Definition at line 111 of file d1_handle.c.

References data1_handle_info::read_buf, and data1_handle_info::read_len.

Referenced by data1_read_record().

const char* data1_get_tabpath ( data1_handle  dp)

Definition at line 141 of file d1_handle.c.

References data1_handle_info::tab_path.

Referenced by data1_path_fopen().

const char* data1_get_tabroot ( data1_handle  dp)

Definition at line 146 of file d1_handle.c.

References data1_handle_info::tab_root.

Referenced by data1_path_fopen().

WRBUF data1_get_wrbuf ( data1_handle  dp)

Definition at line 106 of file d1_handle.c.

References data1_handle_info::wrbuf.

Referenced by data1_nodetobuf(), data1_nodetoidsgml(), and data1_nodetosoif().

int data1_is_xmlmode ( data1_handle  dh)
NMEM data1_nmem_get ( data1_handle  dh)
FILE* data1_path_fopen ( data1_handle  dh,
const char *  file,
const char *  mode 
)
void data1_set_tabpath ( data1_handle  dp,
const char *  p 
)

Definition at line 125 of file d1_handle.c.

References data1_handle_info::tab_path.

Referenced by zebra_register_open().

void data1_set_tabroot ( data1_handle  dp,
const char *  p 
)

Definition at line 133 of file d1_handle.c.

References data1_handle_info::tab_root.

Referenced by zebra_register_open().