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

ISO 5426 decoding. More...

#include <assert.h>
#include <errno.h>
#include <string.h>
#include <yaz/xmalloc.h>
#include "iconv-p.h"

Go to the source code of this file.

Data Structures

struct  decoder_data
 

Functions

static unsigned long yaz_read_iso5426_comb (yaz_iconv_t cd, struct decoder_data *data, unsigned char *inp, size_t inbytesleft, size_t *no_read, int *comb)
 
static unsigned long read_iso5426 (yaz_iconv_t cd, yaz_iconv_decoder_t d, unsigned char *inp, size_t inbytesleft, size_t *no_read)
 
static size_t init_iso5426 (yaz_iconv_t cd, yaz_iconv_decoder_t d, unsigned char *inp, size_t inbytesleft, size_t *no_read)
 
void destroy_iso5426 (yaz_iconv_decoder_t d)
 
yaz_iconv_decoder_t yaz_iso5426_decoder (const char *fromcode, yaz_iconv_decoder_t d)
 

Variables

yaz_conv_func_t yaz_iso5426_42_conv
 
yaz_conv_func_t yaz_iso5426_45_conv
 
yaz_conv_func_t yaz_iso5426_67_conv
 
yaz_conv_func_t yaz_iso5426_62_conv
 
yaz_conv_func_t yaz_iso5426_70_conv
 
yaz_conv_func_t yaz_iso5426_32_conv
 
yaz_conv_func_t yaz_iso5426_4E_conv
 
yaz_conv_func_t yaz_iso5426_51_conv
 
yaz_conv_func_t yaz_iso5426_33_conv
 
yaz_conv_func_t yaz_iso5426_34_conv
 
yaz_conv_func_t yaz_iso5426_53_conv
 
yaz_conv_func_t yaz_iso5426_31_conv
 

Detailed Description

ISO 5426 decoding.

MARC-8 reference: http://www.loc.gov/marc/specifications/speccharmarc8.html

ISO 5426 reference (in German) Zeichenkonkordanz MAB2-Zeichensatz - ISO/IEC 10646 / Unicode http://www.d-nb.de/standardisierung/pdf/mab_unic.pdf

Definition in file iconv_decode_iso5426.c.

Function Documentation

◆ destroy_iso5426()

void destroy_iso5426 ( yaz_iconv_decoder_t  d)

Definition at line 211 of file iconv_decode_iso5426.c.

References yaz_iconv_decoder_s::data, and xfree.

Referenced by yaz_iso5426_decoder().

◆ init_iso5426()

static size_t init_iso5426 ( yaz_iconv_t  cd,
yaz_iconv_decoder_t  d,
unsigned char *  inp,
size_t  inbytesleft,
size_t *  no_read 
)
static

◆ read_iso5426()

static unsigned long read_iso5426 ( yaz_iconv_t  cd,
yaz_iconv_decoder_t  d,
unsigned char *  inp,
size_t  inbytesleft,
size_t *  no_read 
)
static

◆ yaz_iso5426_decoder()

yaz_iconv_decoder_t yaz_iso5426_decoder ( const char *  fromcode,
yaz_iconv_decoder_t  d 
)

◆ yaz_read_iso5426_comb()

static unsigned long yaz_read_iso5426_comb ( yaz_iconv_t  cd,
struct decoder_data data,
unsigned char *  inp,
size_t  inbytesleft,
size_t *  no_read,
int *  comb 
)
static

Variable Documentation

◆ yaz_iso5426_31_conv

yaz_conv_func_t yaz_iso5426_31_conv

Definition at line 49 of file iconv_decode_iso5426.c.

◆ yaz_iso5426_32_conv

yaz_conv_func_t yaz_iso5426_32_conv

Definition at line 43 of file iconv_decode_iso5426.c.

◆ yaz_iso5426_33_conv

yaz_conv_func_t yaz_iso5426_33_conv

Definition at line 46 of file iconv_decode_iso5426.c.

◆ yaz_iso5426_34_conv

yaz_conv_func_t yaz_iso5426_34_conv

Definition at line 47 of file iconv_decode_iso5426.c.

◆ yaz_iso5426_42_conv

yaz_conv_func_t yaz_iso5426_42_conv

Definition at line 38 of file iconv_decode_iso5426.c.

Referenced by yaz_read_iso5426_comb().

◆ yaz_iso5426_45_conv

yaz_conv_func_t yaz_iso5426_45_conv

Definition at line 39 of file iconv_decode_iso5426.c.

Referenced by yaz_read_iso5426_comb().

◆ yaz_iso5426_4E_conv

yaz_conv_func_t yaz_iso5426_4E_conv

Definition at line 44 of file iconv_decode_iso5426.c.

◆ yaz_iso5426_51_conv

yaz_conv_func_t yaz_iso5426_51_conv

Definition at line 45 of file iconv_decode_iso5426.c.

◆ yaz_iso5426_53_conv

yaz_conv_func_t yaz_iso5426_53_conv

Definition at line 48 of file iconv_decode_iso5426.c.

◆ yaz_iso5426_62_conv

yaz_conv_func_t yaz_iso5426_62_conv

Definition at line 41 of file iconv_decode_iso5426.c.

◆ yaz_iso5426_67_conv

yaz_conv_func_t yaz_iso5426_67_conv

Definition at line 40 of file iconv_decode_iso5426.c.

◆ yaz_iso5426_70_conv

yaz_conv_func_t yaz_iso5426_70_conv

Definition at line 42 of file iconv_decode_iso5426.c.