vdr  1.7.27
Namespaces | Defines | Functions | Variables
si.c File Reference
#include "si.h"
#include <errno.h>
#include <iconv.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
#include "descriptor.h"

Go to the source code of this file.

Namespaces

namespace  SI

Defines

#define SingleByteLimit   0x0B
#define NumEntries(Table)   (sizeof(Table) / sizeof(char *))

Functions

bool SI::systemCharacterTableIsSingleByte (void)
bool SI::SetSystemCharacterTable (const char *CharacterTable)
const char * SI::getCharacterTable (const unsigned char *&buffer, int &length, bool *isSingleByte=NULL)
bool SI::convertCharacterTable (const char *from, size_t fromLength, char *to, size_t toLength, const char *fromCode)

Variables

static const char * SI::CharacterTables1 []
static const char * SI::CharacterTables2 []
static const char * SI::SystemCharacterTable = NULL
bool SI::SystemCharacterTableIsSingleByte = true

Define Documentation

#define NumEntries (   Table)    (sizeof(Table) / sizeof(char *))

Definition at line 311 of file si.c.

Referenced by SI::getCharacterTable(), and SI::SetSystemCharacterTable().

#define SingleByteLimit   0x0B

Definition at line 290 of file si.c.

Referenced by SI::getCharacterTable(), and SI::SetSystemCharacterTable().