IDZEBRA  2.1.2
Macros | Typedefs | Functions | Variables
charmap.h File Reference
#include <yaz/yconfig.h>

Go to the source code of this file.

Macros

#define CHR_BASE_CHAR   5
 

Typedefs

typedef struct chr_t_entry chr_t_entry
 
typedef struct chrmaptab_infochrmaptab
 

Functions

chrmaptab chrmaptab_create (const char *tabpath, const char *name, const char *tabroot)
 
void chrmaptab_destroy (chrmaptab tab)
 
const char ** chr_map_input (chrmaptab t, const char **from, int len, int first)
 
const char ** chr_map_input_x (chrmaptab t, const char **from, int *len, int first)
 
const char ** chr_map_q_input (chrmaptab maptab, const char **from, int len, int first)
 
const char * chr_map_output (chrmaptab t, const char **from, int len)
 

Variables

const char * CHR_UNKNOWN
 
const char * CHR_SPACE
 
const char * CHR_CUT
 
const char * CHR_BASE
 

Macro Definition Documentation

#define CHR_BASE_CHAR   5

Definition at line 33 of file charmap.h.

Referenced by zebra_it_key_str_dump().

Typedef Documentation

typedef struct chr_t_entry chr_t_entry

Definition at line 36 of file charmap.h.

typedef struct chrmaptab_info* chrmaptab

Definition at line 38 of file charmap.h.

Function Documentation

const char** chr_map_input ( chrmaptab  t,
const char **  from,
int  len,
int  first 
)
const char** chr_map_input_x ( chrmaptab  t,
const char **  from,
int *  len,
int  first 
)

Definition at line 184 of file charmap.c.

References find_entry_x(), chrmaptab_info::input, and chr_t_entry::target.

const char* chr_map_output ( chrmaptab  t,
const char **  from,
int  len 
)

Definition at line 221 of file charmap.c.

References chrmaptab_info::output.

Referenced by zebra_maps_output().

const char** chr_map_q_input ( chrmaptab  maptab,
const char **  from,
int  len,
int  first 
)

Definition at line 207 of file charmap.c.

References find_entry_x(), chrmaptab_info::q_input, and chr_t_entry::target.

Referenced by zebra_maps_search().

chrmaptab chrmaptab_create ( const char *  tabpath,
const char *  name,
const char *  tabroot 
)
void chrmaptab_destroy ( chrmaptab  tab)

Definition at line 748 of file charmap.c.

References chrmaptab_info::nmem.

Referenced by chrmaptab_create(), tst1(), tst2(), tst3(), and zebra_maps_close().

Variable Documentation

const char* CHR_BASE

Definition at line 51 of file charmap.c.

Referenced by chrmaptab_create().

const char* CHR_CUT

Definition at line 50 of file charmap.c.

Referenced by fun_addcut(), and parse_complete_field().

const char* CHR_SPACE
const char* CHR_UNKNOWN

Definition at line 48 of file charmap.c.

Referenced by chrmaptab_create(), fun_mkstring(), set_map_string(), and zebra_it_key_str_dump().