vdr 2.6.9
channels.c File Reference
#include "channels.h"
#include <ctype.h>
#include "device.h"
#include "libsi/si.h"

Go to the source code of this file.

Classes

class  cChannelSorter
 

Macros

#define STRDIFF   0x01
 
#define VALDIFF   0x02
 
#define CHANNELMARKOBSOLETE   "OBSOLETE"
 
#define CHANNELTIMEOBSOLETE   3600
 

Functions

static int IntArraysDiffer (const int *a, const int *b, const char na[][MAXLANGCODE2]=NULL, const char nb[][MAXLANGCODE2]=NULL)
 
static int IntArrayToString (char *s, const int *a, int Base=10, const char n[][MAXLANGCODE2]=NULL, const int *t=NULL)
 
cString ChannelString (const cChannel *Channel, int Number)
 

Macro Definition Documentation

◆ CHANNELMARKOBSOLETE

#define CHANNELMARKOBSOLETE   "OBSOLETE"

Definition at line 1122 of file channels.c.

Referenced by cChannel::ClearObsoleteChannel(), and cChannels::MarkObsoleteChannels().

◆ CHANNELTIMEOBSOLETE

#define CHANNELTIMEOBSOLETE   3600

Definition at line 1123 of file channels.c.

Referenced by cChannel::ClearObsoleteChannel(), and cChannels::MarkObsoleteChannels().

◆ STRDIFF

#define STRDIFF   0x01

Definition at line 306 of file channels.c.

Referenced by IntArraysDiffer(), and cChannel::SetPids().

◆ VALDIFF

#define VALDIFF   0x02

Definition at line 307 of file channels.c.

Referenced by IntArraysDiffer(), and cChannel::SetPids().

Function Documentation

◆ ChannelString()

◆ IntArraysDiffer()

static int IntArraysDiffer ( const int * a,
const int * b,
const char na[][MAXLANGCODE2] = NULL,
const char nb[][MAXLANGCODE2] = NULL )
static

Definition at line 309 of file channels.c.

References STRDIFF, and VALDIFF.

Referenced by cChannel::SetCaIds(), and cChannel::SetPids().

◆ IntArrayToString()

static int IntArrayToString ( char * s,
const int * a,
int Base = 10,
const char n[][MAXLANGCODE2] = NULL,
const int * t = NULL )
static

Definition at line 325 of file channels.c.

Referenced by cChannel::SetCaIds(), cChannel::SetPids(), and cChannel::ToText().