vdr  2.2.0
Namespaces | Macros | 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

 SI
 

Macros

#define SingleByteLimit   0x0B
 
#define NumEntries(Table)   (sizeof(Table) / sizeof(char *))
 
#define MT(s, m, v)   ((*(s) & (m)) == (v))
 

Functions

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

Variables

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

Macro Definition Documentation

#define MT (   s,
  m,
 
)    ((*(s) & (m)) == (v))

Referenced by SI::Utf8CharLen().

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

Definition at line 312 of file si.c.

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

#define SingleByteLimit   0x0B

Definition at line 291 of file si.c.

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