vdr 2.6.6
Classes | Macros | Typedefs | Variables
config.h File Reference
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include "i18n.h"
#include "font.h"
#include "tools.h"

Go to the source code of this file.

Classes

class  cSVDRPhost
 
class  cSatCableNumbers
 
class  cConfig< T >
 
class  cNestedItem
 
class  cNestedItemList
 
class  cSVDRPhosts
 
class  cSetupLine
 
class  cSetup
 

Macros

#define VDRVERSION   "2.6.6"
 
#define VDRVERSNUM   20606
 
#define APIVERSION   "2.6.6"
 
#define APIVERSNUM   20606
 
#define MAINMENUHOOKSVERSION   "1.0.1"
 
#define MAINMENUHOOKSVERSNUM   10001
 
#define MAXPRIORITY   99
 
#define MINPRIORITY   (-MAXPRIORITY)
 
#define LIVEPRIORITY   0
 
#define TRANSFERPRIORITY   (LIVEPRIORITY - 1)
 
#define IDLEPRIORITY   (MINPRIORITY - 1)
 
#define MAXLIFETIME   99
 
#define DEFINSTRECTIME   180
 
#define TIMERMACRO_TITLE   "TITLE"
 
#define TIMERMACRO_EPISODE   "EPISODE"
 
#define TIMERMACRO_BEFORE   "{<}"
 
#define TIMERMACRO_MATCH   "{=}"
 
#define TIMERMACRO_AFTER   "{>}"
 
#define TIMERPATTERN_AVOID   "@"
 
#define TIMERPATTERN_BEGIN   "^"
 
#define TIMERPATTERN_END   "$"
 
#define MINOSDWIDTH   480
 
#define MAXOSDWIDTH   1920
 
#define MINOSDHEIGHT   324
 
#define MAXOSDHEIGHT   1200
 
#define MaxFileName   NAME_MAX
 
#define MaxSkinName   16
 
#define MaxThemeName   16
 
#define STANDARD_DVB   0
 
#define STANDARD_ANSISCTE   1
 
#define STANDARD_NORDIG   2
 

Typedefs

typedef uint32_t in_addr_t
 

Variables

cNestedItemList Folders
 
cNestedItemList Commands
 
cNestedItemList RecordingCommands
 
cSVDRPhosts SVDRPhosts
 
cSetup Setup
 

Macro Definition Documentation

◆ APIVERSION

#define APIVERSION   "2.6.6"

Definition at line 30 of file config.h.

Referenced by cPluginManager::AddPlugin(), and main().

◆ APIVERSNUM

#define APIVERSNUM   20606

◆ DEFINSTRECTIME

#define DEFINSTRECTIME   180

Definition at line 49 of file config.h.

Referenced by cSetup::cSetup(), and cTimer::cTimer().

◆ IDLEPRIORITY

#define IDLEPRIORITY   (MINPRIORITY - 1)

◆ LIVEPRIORITY

#define LIVEPRIORITY   0

◆ MAINMENUHOOKSVERSION

#define MAINMENUHOOKSVERSION   "1.0.1"

Definition at line 40 of file config.h.

◆ MAINMENUHOOKSVERSNUM

#define MAINMENUHOOKSVERSNUM   10001

Definition at line 41 of file config.h.

◆ MaxFileName

#define MaxFileName   NAME_MAX

Definition at line 66 of file config.h.

◆ MAXLIFETIME

#define MAXLIFETIME   99

◆ MAXOSDHEIGHT

#define MAXOSDHEIGHT   1200

Definition at line 64 of file config.h.

Referenced by cOsd::SetOsdPosition().

◆ MAXOSDWIDTH

#define MAXOSDWIDTH   1920

Definition at line 62 of file config.h.

Referenced by cOsd::SetOsdPosition().

◆ MAXPRIORITY

#define MAXPRIORITY   99

◆ MaxSkinName

#define MaxSkinName   16

Definition at line 67 of file config.h.

Referenced by cSetup::Parse().

◆ MaxThemeName

#define MaxThemeName   16

Definition at line 68 of file config.h.

Referenced by cSetup::Parse().

◆ MINOSDHEIGHT

#define MINOSDHEIGHT   324

Definition at line 63 of file config.h.

Referenced by cOsd::SetOsdPosition().

◆ MINOSDWIDTH

#define MINOSDWIDTH   480

Definition at line 61 of file config.h.

Referenced by cOsd::SetOsdPosition().

◆ MINPRIORITY

#define MINPRIORITY   (-MAXPRIORITY)

Definition at line 44 of file config.h.

Referenced by cDevice::AttachReceiver(), cDevice::Detach(), main(), and cReceiver::SetPriority().

◆ STANDARD_ANSISCTE

#define STANDARD_ANSISCTE   1

Definition at line 78 of file config.h.

Referenced by cPatFilter::Process().

◆ STANDARD_DVB

#define STANDARD_DVB   0

Definition at line 77 of file config.h.

Referenced by cSetup::cSetup().

◆ STANDARD_NORDIG

#define STANDARD_NORDIG   2

Definition at line 79 of file config.h.

Referenced by cNitFilter::Process().

◆ TIMERMACRO_AFTER

#define TIMERMACRO_AFTER   "{>}"

Definition at line 55 of file config.h.

Referenced by MakePatternFileName().

◆ TIMERMACRO_BEFORE

#define TIMERMACRO_BEFORE   "{<}"

Definition at line 53 of file config.h.

Referenced by MakePatternFileName().

◆ TIMERMACRO_EPISODE

#define TIMERMACRO_EPISODE   "EPISODE"

◆ TIMERMACRO_MATCH

#define TIMERMACRO_MATCH   "{=}"

Definition at line 54 of file config.h.

Referenced by MakePatternFileName().

◆ TIMERMACRO_TITLE

#define TIMERMACRO_TITLE   "TITLE"

◆ TIMERPATTERN_AVOID

#define TIMERPATTERN_AVOID   "@"

Definition at line 57 of file config.h.

Referenced by cTimer::Matches(), MatchPattern(), and cTimer::SpawnPatternTimer().

◆ TIMERPATTERN_BEGIN

#define TIMERPATTERN_BEGIN   "^"

Definition at line 58 of file config.h.

Referenced by MatchPattern().

◆ TIMERPATTERN_END

#define TIMERPATTERN_END   "$"

Definition at line 59 of file config.h.

Referenced by MatchPattern().

◆ TRANSFERPRIORITY

#define TRANSFERPRIORITY   (LIVEPRIORITY - 1)

Definition at line 46 of file config.h.

Referenced by cDevice::Priority().

◆ VDRVERSION

#define VDRVERSION   "2.6.6"

◆ VDRVERSNUM

#define VDRVERSNUM   20606

Typedef Documentation

◆ in_addr_t

typedef uint32_t in_addr_t

Definition at line 81 of file config.h.

Variable Documentation

◆ Commands

cNestedItemList Commands
extern

◆ Folders

cNestedItemList Folders
extern

◆ RecordingCommands

cNestedItemList RecordingCommands
extern

◆ Setup

cSetup Setup
extern

Definition at line 372 of file config.c.

Referenced by cSocket::Accept(), cCuttingThread::Action(), cDvbPlayer::Action(), cLircUsrRemote::Action(), cLircDevRemote::Action(), cTrueColorDemo::Action(), cIndexFileGenerator::Action(), cKbdRemote::Action(), cSVDRPClientHandler::AddClient(), cDvbSubtitleConverter::AssertOsd(), cSkinDisplay::AvgCharWidth(), cDvbPlayer::Backward(), cPositioner::CalcHourAngle(), cPositioner::CalcLongitude(), cTimer::CalcMargins(), cShutdownHandler::CallShutdownCommand(), cCuttingThread::cCuttingThread(), cDevice::cDevice(), cDisplayChannel::cDisplayChannel(), cDisplayChannel::cDisplayChannel(), cEIT::cEIT(), cHdffOsd::cHdffOsd(), cShutdownHandler::CheckManualStart(), cChannel::ClearObsoleteChannel(), cSVDRPServer::Close(), cSVDRPServer::CmdDELC(), cSVDRPServer::CmdDELR(), cSVDRPServer::CmdDELT(), cSVDRPServer::CmdGRAB(), cSVDRPServer::CmdLSTD(), cSVDRPServer::CmdMESG(), cSVDRPServer::CmdMODC(), cSVDRPServer::CmdMODT(), cSVDRPServer::CmdMOVC(), cSVDRPServer::CmdNEWC(), cSVDRPServer::CmdNEWT(), cSVDRPServer::CmdPING(), cSVDRPServer::CmdPRIM(), cSVDRPServer::CmdUPDT(), cMenuRecordings::cMenuRecordings(), cMenuSetupBase::cMenuSetupBase(), cMenuSetupOSD::cMenuSetupOSD(), cMpeg2Fixer::cMpeg2Fixer(), cRecording::Compare(), cShutdownHandler::ConfirmShutdown(), cSocket::Connect(), cPositioner::cPositioner(), cRcuRemote::cRcuRemote(), CreateTinyFont(), cRecordControl::cRecordControl(), cRecording::cRecording(), cReplayControl::cReplayControl(), cResumeFile::cResumeFile(), cSkinClassicDisplayChannel::cSkinClassicDisplayChannel(), cSkinClassicDisplayMenu::cSkinClassicDisplayMenu(), cSkinClassicDisplayMessage::cSkinClassicDisplayMessage(), cSkinClassicDisplayReplay::cSkinClassicDisplayReplay(), cSkinClassicDisplayTracks::cSkinClassicDisplayTracks(), cSkinClassicDisplayVolume::cSkinClassicDisplayVolume(), cSkinCursesDisplayChannel::cSkinCursesDisplayChannel(), cSkinLCARSDisplayChannel::cSkinLCARSDisplayChannel(), cSkinLCARSDisplayMenu::cSkinLCARSDisplayMenu(), cSkinSTTNGDisplayChannel::cSkinSTTNGDisplayChannel(), cSkinSTTNGDisplayMenu::cSkinSTTNGDisplayMenu(), cSkinSTTNGDisplayMessage::cSkinSTTNGDisplayMessage(), cSkinSTTNGDisplayReplay::cSkinSTTNGDisplayReplay(), cSkinSTTNGDisplayTracks::cSkinSTTNGDisplayTracks(), cSkinSTTNGDisplayVolume::cSkinSTTNGDisplayVolume(), cSVDRPClient::cSVDRPClient(), cSVDRPServer::cSVDRPServer(), cTimer::cTimer(), cTimer::cTimer(), cTsPayload::cTsPayload(), cOsdMenu::CursorDown(), cOsdMenu::CursorUp(), cDevice::Detach(), cSocket::Discover(), cPictureControl::DisplayCaption(), cShutdownHandler::DoShutdown(), cDvbSubtitleBitmaps::Draw(), cPixmapMemory::DrawEllipse(), DrawEllipseAlignments(), cSkinLCARSDisplayMenu::DrawMenuFrame(), cPixmapMemory::DrawSlope(), cFreetypeFont::DrawText(), cFreetypeFont::DrawText(), cReplayControl::EditTest(), cDevice::EnsureAudioTrack(), cDevice::EnsureSubtitleTrack(), cDiseqc::Execute(), cEvent::FixEpgBugs(), cDvbPlayer::Forward(), cDvbTuner::GetBondingParams(), cFont::GetFont(), cDvbSdFfDevice::GetOsdSize(), GetRecordingsSortMode(), cDvbPlayer::GetReplayMode(), cAdaptiveSkipper::GetValue(), cSVDRPClientHandler::HandleClientConnection(), cPositioner::HardLimitLongitude(), cPositioner::HorizonLongitude(), cSocket::Listen(), main(), cReplayControl::MarkJump(), cChannels::MarkObsoleteChannels(), cReplayControl::MarkToggle(), cTimer::Matches(), cChannel::Name(), cMenuTimers::New(), cDisplayChannel::NextAvailableChannel(), cRecorder::NextFile(), cOsd::OsdHeight(), cOsd::OsdLeft(), cOsd::OsdTop(), cOsd::OsdWidth(), cOsdMenu::PageDown(), cOsdMenu::PageUp(), cSubtitleClut::Parse(), cSubtitleClut::ParsePgs(), cPatPmtParser::ParsePmt(), cDevice::PlayPesPacket(), cMenuSchedule::PrepareScheduleAllAll(), cMenuSchedule::PrepareScheduleAllThis(), cMenuSchedule::PrepareScheduleThisAll(), cMenuSchedule::PrepareScheduleThisThis(), cSVDRPClient::Process(), cEitFilter::Process(), cNitFilter::Process(), cPatFilter::Process(), cSdtFilter::Process(), cEITScanner::Process(), cSVDRPServer::Process(), cSVDRPClientHandler::ProcessConnections(), cMenuSetupOSD::ProcessKey(), cMenuSetupMisc::ProcessKey(), cMenuMain::ProcessKey(), cDisplayChannel::ProcessKey(), cDisplayTracks::ProcessKey(), cReplayControl::ProcessKey(), cMenuEditStrItem::ProcessKey(), cDvbDevice::ProvidesTransponder(), cKeys::PutSetup(), cRemote::PutSetup(), cKbdRemote::ReadKey(), cMenuWhatsOn::Record(), cMenuSchedule::Record(), cSubtitleObject::Render(), cSVDRPServer::Reply(), ReportEpgBugFixStats(), cShutdownHandler::RequestEmergencyExit(), cDvbPlayer::Save(), cSocket::SendDgram(), cSVDRPClientHandler::SendDiscover(), cMenuTimerItem::Set(), cSkinClassicDisplayMenu::SetButtons(), cSkinLCARSDisplayMenu::SetButtons(), cSkinSTTNGDisplayMenu::SetButtons(), cDevice::SetChannel(), cDvbTuner::SetFrontend(), cSkinCursesDisplayReplay::SetMode(), cSkinClassicDisplayReplay::SetMode(), cDvbSdFfDevice::SetPlayMode(), cDevice::SetPrimaryDevice(), cDvbSpuDecoder::SetSpuScaling(), cPlugin::SetupStore(), cPlugin::SetupStore(), cShutdownHandler::SetUserInactiveTimeout(), cDevice::SetVideoDisplayFormat(), cDvbSdFfDevice::SetVideoDisplayFormat(), cDvbSdFfDevice::SetVideoFormat(), cDevice::SetVolume(), cChannel::ShortName(), cReplayControl::ShowMode(), cReplayControl::ShowProgress(), cRecording::SortName(), cTimer::SpawnPatternTimers(), cRecordControls::Start(), cCutter::Start(), cPositioner::StartMovementTimer(), StartSVDRPHandler(), cTimer::StartTimeEvent(), cReplayControl::Stop(), cTimer::StopTimeEvent(), cMenuSetupBase::Store(), cMenuSetupReplay::Store(), cRecording::StripEpisodeName(), cMenuMain::Update(), cOsdProvider::UpdateOsdSize(), cInterface::Wait(), cFreetypeFont::Width(), cFreetypeFont::Width(), cSVDRPClient::~cSVDRPClient(), and cSVDRPServer::~cSVDRPServer().

◆ SVDRPhosts

cSVDRPhosts SVDRPhosts
extern

Definition at line 280 of file config.c.

Referenced by cSocket::Accept(), cSocket::Discover(), cSocket::Listen(), and main().