Back to index

glibc  2.9
Defines | Variables
t.61.c File Reference
#include <dlfcn.h>
#include <gconv.h>
#include <stdint.h>
#include <string.h>
#include <iconv/loop.c>
#include <iconv/skeleton.c>

Go to the source code of this file.

Defines

#define CHARSET_NAME   "T.61-8BIT//"
#define FROM_LOOP   from_t_61
#define TO_LOOP   to_t_61
#define DEFINE_INIT   1
#define DEFINE_FINI   1
#define MIN_NEEDED_FROM   1
#define MAX_NEEDED_FROM   2
#define MIN_NEEDED_TO   4
#define MIN_NEEDED_INPUT   MIN_NEEDED_FROM
#define MAX_NEEDED_INPUT   MAX_NEEDED_FROM
#define MIN_NEEDED_OUTPUT   MIN_NEEDED_TO
#define LOOPFCT   FROM_LOOP
#define BODY
#define LOOP_NEED_FLAGS
#define ONEBYTE_BODY
#define MIN_NEEDED_INPUT   MIN_NEEDED_TO
#define MIN_NEEDED_OUTPUT   MIN_NEEDED_FROM
#define MAX_NEEDED_OUTPUT   MAX_NEEDED_FROM
#define LOOPFCT   TO_LOOP
#define BODY
#define LOOP_NEED_FLAGS

Variables

static const uint32_t to_ucs4 [256]
static const uint32_t to_ucs4_comb [15][96]
static const char from_ucs4 [][2]

Define Documentation

#define BODY

Definition at line 444 of file t.61.c.

#define BODY

Definition at line 444 of file t.61.c.

#define CHARSET_NAME   "T.61-8BIT//"

Definition at line 369 of file t.61.c.

#define DEFINE_FINI   1

Definition at line 373 of file t.61.c.

#define DEFINE_INIT   1

Definition at line 372 of file t.61.c.

#define FROM_LOOP   from_t_61

Definition at line 370 of file t.61.c.

#define LOOP_NEED_FLAGS

Definition at line 503 of file t.61.c.

#define LOOP_NEED_FLAGS

Definition at line 503 of file t.61.c.

#define LOOPFCT   FROM_LOOP

Definition at line 443 of file t.61.c.

#define LOOPFCT   TO_LOOP

Definition at line 443 of file t.61.c.

#define MAX_NEEDED_FROM   2

Definition at line 375 of file t.61.c.

Definition at line 380 of file t.61.c.

Definition at line 442 of file t.61.c.

#define MIN_NEEDED_FROM   1

Definition at line 374 of file t.61.c.

Definition at line 440 of file t.61.c.

Definition at line 440 of file t.61.c.

Definition at line 441 of file t.61.c.

Definition at line 441 of file t.61.c.

#define MIN_NEEDED_TO   4

Definition at line 376 of file t.61.c.

#define ONEBYTE_BODY
Value:
{                                                                    \
    uint32_t ch = to_ucs4[c];                                               \
    if (ch == 0 && c != '\0')                                               \
      return WEOF;                                                   \
    return ch;                                                              \
  }

Definition at line 429 of file t.61.c.

#define TO_LOOP   to_t_61

Definition at line 371 of file t.61.c.


Variable Documentation

const char from_ucs4[][2] [static]

Definition at line 273 of file t.61.c.

const uint32_t to_ucs4[256] [static]

Definition at line 27 of file t.61.c.

const uint32_t to_ucs4_comb[15][96] [static]

Definition at line 65 of file t.61.c.