YAZ  5.34.0
Data Structures | Functions | Variables
iso5426.c File Reference

Character conversion, generated from ./codetables-iso5426.xml. More...

#include <string.h>

Go to the source code of this file.

Data Structures

struct  yaz_iconv_trie_flat
 
struct  yaz_iconv_trie_dir
 
struct  yaz_iconv_trie
 

Functions

static unsigned long lookup (struct yaz_iconv_trie **ptrs, int ptr, unsigned char *inp, size_t inbytesleft, size_t *no_read, int *combining, unsigned mask, unsigned int boffset)
 
unsigned long yaz_iso5426_42_conv (unsigned char *inp, size_t inbytesleft, size_t *no_read, int *combining, unsigned mask, unsigned int boffset)
 
unsigned long yaz_iso5426_45_conv (unsigned char *inp, size_t inbytesleft, size_t *no_read, int *combining, unsigned mask, unsigned int boffset)
 

Variables

struct yaz_iconv_trie_dir iso5426_42page0_dir [256]
 
struct yaz_iconv_trie iso5426_42page0
 
struct yaz_iconv_trieiso5426_42ptrs []
 
struct yaz_iconv_trie_dir iso5426_45page0_dir [256]
 
struct yaz_iconv_trie iso5426_45page0
 
struct yaz_iconv_trieiso5426_45ptrs []
 

Detailed Description

Character conversion, generated from ./codetables-iso5426.xml.

Generated automatically by charconv.tcl

Definition in file iso5426.c.

Function Documentation

◆ lookup()

static unsigned long lookup ( struct yaz_iconv_trie **  ptrs,
int  ptr,
unsigned char *  inp,
size_t  inbytesleft,
size_t *  no_read,
int *  combining,
unsigned  mask,
unsigned int  boffset 
)
static

Definition at line 28 of file iso5426.c.

Referenced by yaz_iso5426_45_conv().

◆ yaz_iso5426_42_conv()

unsigned long yaz_iso5426_42_conv ( unsigned char *  inp,
size_t  inbytesleft,
size_t *  no_read,
int *  combining,
unsigned  mask,
unsigned int  boffset 
)

Definition at line 349 of file iso5426.c.

◆ yaz_iso5426_45_conv()

unsigned long yaz_iso5426_45_conv ( unsigned char *  inp,
size_t  inbytesleft,
size_t *  no_read,
int *  combining,
unsigned  mask,
unsigned int  boffset 
)

Definition at line 629 of file iso5426.c.

References iso5426_45ptrs, lookup(), and mask.

Variable Documentation

◆ iso5426_42page0

struct yaz_iconv_trie iso5426_42page0
Initial value:
= {
}
struct yaz_iconv_trie_dir iso5426_42page0_dir[256]
Definition: iso5426.c:84

Definition at line 28 of file iso5426.c.

◆ iso5426_42page0_dir

struct yaz_iconv_trie_dir iso5426_42page0_dir[256]

Definition at line 28 of file iso5426.c.

◆ iso5426_42ptrs

struct yaz_iconv_trie* iso5426_42ptrs[]
Initial value:
= {
0, }
struct yaz_iconv_trie iso5426_42page0
Definition: iso5426.c:342

Definition at line 345 of file iso5426.c.

◆ iso5426_45page0

struct yaz_iconv_trie iso5426_45page0
Initial value:
= {
}
struct yaz_iconv_trie_dir iso5426_45page0_dir[256]
Definition: iso5426.c:364

Definition at line 349 of file iso5426.c.

◆ iso5426_45page0_dir

struct yaz_iconv_trie_dir iso5426_45page0_dir[256]

Definition at line 349 of file iso5426.c.

◆ iso5426_45ptrs

struct yaz_iconv_trie* iso5426_45ptrs[]
Initial value:
= {
0, }
struct yaz_iconv_trie iso5426_45page0
Definition: iso5426.c:622

Definition at line 625 of file iso5426.c.

Referenced by yaz_iso5426_45_conv().