vdr 2.7.5
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.7.5"
#define VDRVERSNUM   20705
#define APIVERSION   "7"
#define APIVERSNUM   30007
#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
#define SUBTITLES_NO   0
#define SUBTITLES_ALWAYS   1
#define SUBTITLES_REWIND   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   "7"

Definition at line 30 of file config.h.

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

◆ APIVERSNUM

#define APIVERSNUM   30007

◆ DEFINSTRECTIME

#define DEFINSTRECTIME   180

Definition at line 51 of file config.h.

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

◆ IDLEPRIORITY

◆ LIVEPRIORITY

◆ 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 68 of file config.h.

◆ MAXLIFETIME

◆ MAXOSDHEIGHT

#define MAXOSDHEIGHT   1200

Definition at line 66 of file config.h.

Referenced by cOsd::SetOsdPosition().

◆ MAXOSDWIDTH

#define MAXOSDWIDTH   1920

Definition at line 64 of file config.h.

Referenced by cOsd::SetOsdPosition().

◆ MAXPRIORITY

◆ MaxSkinName

#define MaxSkinName   16

Definition at line 69 of file config.h.

Referenced by cSetup::Parse().

◆ MaxThemeName

#define MaxThemeName   16

Definition at line 70 of file config.h.

Referenced by cSetup::Parse().

◆ MINOSDHEIGHT

#define MINOSDHEIGHT   324

Definition at line 65 of file config.h.

Referenced by cOsd::SetOsdPosition().

◆ MINOSDWIDTH

#define MINOSDWIDTH   480

Definition at line 63 of file config.h.

Referenced by cOsd::SetOsdPosition().

◆ MINPRIORITY

◆ STANDARD_ANSISCTE

#define STANDARD_ANSISCTE   1

Definition at line 80 of file config.h.

Referenced by cPatFilter::Process().

◆ STANDARD_DVB

#define STANDARD_DVB   0

Definition at line 79 of file config.h.

Referenced by cSetup::cSetup().

◆ STANDARD_NORDIG

#define STANDARD_NORDIG   2

Definition at line 81 of file config.h.

Referenced by cNitFilter::Process().

◆ SUBTITLES_ALWAYS

#define SUBTITLES_ALWAYS   1

Definition at line 86 of file config.h.

Referenced by cDevice::EnsureSubtitleTrack().

◆ SUBTITLES_NO

#define SUBTITLES_NO   0

Definition at line 85 of file config.h.

Referenced by cSetup::cSetup(), and cMenuSetupDVB::Setup().

◆ SUBTITLES_REWIND

#define SUBTITLES_REWIND   2

◆ TIMERMACRO_AFTER

#define TIMERMACRO_AFTER   "{>}"

Definition at line 57 of file config.h.

Referenced by MakePatternFileName().

◆ TIMERMACRO_BEFORE

#define TIMERMACRO_BEFORE   "{<}"

Definition at line 55 of file config.h.

Referenced by MakePatternFileName().

◆ TIMERMACRO_EPISODE

#define TIMERMACRO_EPISODE   "EPISODE"

◆ TIMERMACRO_MATCH

#define TIMERMACRO_MATCH   "{=}"

Definition at line 56 of file config.h.

Referenced by MakePatternFileName().

◆ TIMERMACRO_TITLE

#define TIMERMACRO_TITLE   "TITLE"

◆ TIMERPATTERN_AVOID

#define TIMERPATTERN_AVOID   "@"

Definition at line 59 of file config.h.

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

◆ TIMERPATTERN_BEGIN

#define TIMERPATTERN_BEGIN   "^"

Definition at line 60 of file config.h.

Referenced by MatchPattern().

◆ TIMERPATTERN_END

#define TIMERPATTERN_END   "$"

Definition at line 61 of file config.h.

Referenced by MatchPattern().

◆ TRANSFERPRIORITY

#define TRANSFERPRIORITY   (LIVEPRIORITY - 1)

Definition at line 48 of file config.h.

Referenced by cTransfer::cTransfer(), and cDevice::Priority().

◆ VDRVERSION

#define VDRVERSION   "2.7.5"

◆ VDRVERSNUM

#define VDRVERSNUM   20705

Typedef Documentation

◆ in_addr_t

typedef uint32_t in_addr_t

Definition at line 89 of file config.h.

Variable Documentation

◆ Commands

◆ Folders

◆ RecordingCommands

cNestedItemList RecordingCommands
extern

◆ Setup

cSetup Setup
extern

Definition at line 372 of file config.c.

Referenced by cSocket::Accept(), cCuttingThread::Action(), cDvbPlayer::Action(), cIndexFileGenerator::Action(), cKbdRemote::Action(), cLircDevRemote::Action(), cLircUsrRemote::Action(), cTrueColorDemo::Action(), cSVDRPClientHandler::AddClient(), cScanList::AddTransponder(), 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(), cDevice::PlaySubtitle(), cDevice::PlayTsSubtitle(), cMenuSchedule::PrepareScheduleAllAll(), cMenuSchedule::PrepareScheduleAllThis(), cMenuSchedule::PrepareScheduleThisAll(), cMenuSchedule::PrepareScheduleThisThis(), cEitFilter::Process(), cEITScanner::Process(), cNitFilter::Process(), cPatFilter::Process(), cSdtFilter::Process(), cSVDRPClient::Process(), cSVDRPServer::Process(), cSVDRPClientHandler::ProcessConnections(), cDisplayChannel::ProcessKey(), cDisplayTracks::ProcessKey(), cMenuEditStrItem::ProcessKey(), cMenuMain::ProcessKey(), cMenuSetupMisc::ProcessKey(), cMenuSetupOSD::ProcessKey(), cReplayControl::ProcessKey(), cDvbDevice::ProvidesTransponder(), cKeys::PutSetup(), cRemote::PutSetup(), cKbdRemote::ReadKey(), cMenuSchedule::Record(), cMenuWhatsOn::Record(), cSubtitleObject::Render(), cSVDRPServer::Reply(), ReportEpgBugFixStats(), cShutdownHandler::RequestEmergencyExit(), cDvbPlayer::Save(), cSocket::SendDgram(), cSVDRPClientHandler::SendDiscover(), cMenuTimerItem::Set(), cSkinClassicDisplayMenu::SetButtons(), cSkinLCARSDisplayMenu::SetButtons(), cSkinSTTNGDisplayMenu::SetButtons(), cDevice::SetChannel(), cDevice::SetCurrentSubtitleTrack(), cDvbTuner::SetFrontend(), cSkinClassicDisplayReplay::SetMode(), cSkinCursesDisplayReplay::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(), cCutter::Start(), cRecordControls::Start(), cPositioner::StartMovementTimer(), StartSVDRPHandler(), cTimer::StartTimeEvent(), cReplayControl::Stop(), cTimer::StopTimeEvent(), cMenuSetupBase::Store(), cMenuSetupReplay::Store(), cRecording::StripEpisodeName(), cMenuMain::Update(), cChannel::UpdateNameSource(), 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().