IDZEBRA 2.2.11
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_info * chrmaptab

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

◆ CHR_BASE_CHAR

#define CHR_BASE_CHAR   5

Definition at line 33 of file charmap.h.

Referenced by zebra_it_key_str_dump().

Typedef Documentation

◆ chr_t_entry

typedef struct chr_t_entry chr_t_entry

Definition at line 36 of file charmap.h.

◆ chrmaptab

typedef struct chrmaptab_info* chrmaptab

Definition at line 38 of file charmap.h.

Function Documentation

◆ chr_map_input()

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

◆ chr_map_input_x()

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.

Referenced by tst_string().

◆ chr_map_output()

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().

◆ chr_map_q_input()

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_create()

◆ chrmaptab_destroy()

void chrmaptab_destroy ( chrmaptab tab)

Definition at line 748 of file charmap.c.

References chrmaptab_info::nmem.

Referenced by chrmaptab_create(), tst2(), tst3(), tst_latin1(), tst_utf8(), and zebra_maps_close().

Variable Documentation

◆ CHR_BASE

const char* CHR_BASE
extern

Definition at line 51 of file charmap.c.

Referenced by chrmaptab_create().

◆ CHR_CUT

const char* CHR_CUT
extern

Definition at line 50 of file charmap.c.

Referenced by fun_addcut(), and parse_complete_field().

◆ CHR_SPACE

◆ CHR_UNKNOWN

const char* CHR_UNKNOWN
extern

Definition at line 48 of file charmap.c.

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