vdr  2.4.0
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.4.0"
 
#define VDRVERSNUM   20400
 
#define APIVERSION   "2.4.0"
 
#define APIVERSNUM   20400
 
#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 MAINMENUHOOKSVERSION   "1.0.1"
 
#define MAINMENUHOOKSVERSNUM   10001
 
#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.4.0"

Definition at line 30 of file config.h.

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

◆ APIVERSNUM

#define APIVERSNUM   20400

◆ DEFINSTRECTIME

#define DEFINSTRECTIME   180

Definition at line 45 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 51 of file config.h.

◆ MAINMENUHOOKSVERSNUM

#define MAINMENUHOOKSVERSNUM   10001

Definition at line 52 of file config.h.

◆ MaxFileName

#define MaxFileName   NAME_MAX

Definition at line 59 of file config.h.

◆ MAXLIFETIME

#define MAXLIFETIME   99

◆ MAXOSDHEIGHT

#define MAXOSDHEIGHT   1200

Definition at line 57 of file config.h.

Referenced by cOsd::SetOsdPosition().

◆ MAXOSDWIDTH

#define MAXOSDWIDTH   1920

Definition at line 55 of file config.h.

Referenced by cOsd::SetOsdPosition().

◆ MAXPRIORITY

#define MAXPRIORITY   99

◆ MaxSkinName

#define MaxSkinName   16

Definition at line 60 of file config.h.

Referenced by cSetup::Parse().

◆ MaxThemeName

#define MaxThemeName   16

Definition at line 61 of file config.h.

Referenced by cSetup::Parse().

◆ MINOSDHEIGHT

#define MINOSDHEIGHT   324

Definition at line 56 of file config.h.

Referenced by cOsd::SetOsdPosition().

◆ MINOSDWIDTH

#define MINOSDWIDTH   480

Definition at line 54 of file config.h.

Referenced by cOsd::SetOsdPosition().

◆ MINPRIORITY

#define MINPRIORITY   (-MAXPRIORITY)

Definition at line 40 of file config.h.

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

◆ STANDARD_ANSISCTE

#define STANDARD_ANSISCTE   1

Definition at line 71 of file config.h.

Referenced by cPatFilter::Process().

◆ STANDARD_DVB

#define STANDARD_DVB   0

Definition at line 70 of file config.h.

Referenced by cSetup::cSetup().

◆ STANDARD_NORDIG

#define STANDARD_NORDIG   2

Definition at line 72 of file config.h.

Referenced by cNitFilter::Process(), and cChannels::ReNumber().

◆ TIMERMACRO_EPISODE

#define TIMERMACRO_EPISODE   "EPISODE"

Definition at line 48 of file config.h.

Referenced by cRecording::cRecording(), cSetup::cSetup(), and cMenuTimerItem::Set().

◆ TIMERMACRO_TITLE

#define TIMERMACRO_TITLE   "TITLE"

Definition at line 47 of file config.h.

Referenced by cRecording::cRecording(), cSetup::cSetup(), and cMenuTimerItem::Set().

◆ TRANSFERPRIORITY

#define TRANSFERPRIORITY   (LIVEPRIORITY - 1)

Definition at line 42 of file config.h.

Referenced by cDevice::Priority().

◆ VDRVERSION

#define VDRVERSION   "2.4.0"

◆ VDRVERSNUM

#define VDRVERSNUM   20400

Typedef Documentation

◆ in_addr_t

typedef uint32_t in_addr_t

Definition at line 74 of file config.h.

Variable Documentation

◆ Commands

cNestedItemList Commands

◆ Folders

cNestedItemList Folders

◆ RecordingCommands

cNestedItemList RecordingCommands

◆ Setup

cSetup Setup

Definition at line 372 of file config.c.

Referenced by cSocket::Accept(), cLircRemote::Action(), cKbdRemote::Action(), cTrueColorDemo::Action(), cCuttingThread::Action(), cDvbPlayer::Action(), cSVDRPClientHandler::AddClient(), cDvbSubtitleConverter::AssertOsd(), cSkinDisplay::AvgCharWidth(), cDvbPlayer::Backward(), cPositioner::CalcHourAngle(), cPositioner::CalcLongitude(), cShutdownHandler::CallShutdownCommand(), cCuttingThread::cCuttingThread(), cDevice::cDevice(), cDisplayChannel::cDisplayChannel(), cEIT::cEIT(), cHdffOsd::cHdffOsd(), cShutdownHandler::CheckManualStart(), cSchedule::Cleanup(), 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(), cRecording::Compare(), cShutdownHandler::ConfirmShutdown(), cSocket::Connect(), cPositioner::cPositioner(), CreateTinyFont(), cRecordControl::cRecordControl(), cRecorder::cRecorder(), 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(), cOsdMenu::CursorDown(), cOsdMenu::CursorUp(), cDevice::Detach(), cSocket::Discover(), cPictureControl::DisplayCaption(), cShutdownHandler::DoShutdown(), cSkinLCARSDisplayMenu::DrawMenuFrame(), cFreetypeFont::DrawText(), cEvent::Dump(), cReplayControl::EditTest(), cDevice::EnsureAudioTrack(), cDevice::EnsureSubtitleTrack(), cDiseqc::Execute(), cEvent::FixEpgBugs(), cDvbPlayer::Forward(), cDvbTuner::GetBondingParams(), cFont::GetFont(), GetRecordingsSortMode(), cDvbPlayer::GetReplayMode(), cAdaptiveSkipper::GetValue(), cSVDRPClientHandler::HandleClientConnection(), cPositioner::HardLimitLongitude(), cPositioner::HorizonLongitude(), cSocket::Listen(), main(), cReplayControl::MarkJump(), cChannels::MarkObsoleteChannels(), cReplayControl::MarkToggle(), 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(), cNitFilter::Process(), cSdtFilter::Process(), cEitFilter::Process(), cPatFilter::Process(), cEITScanner::Process(), cSVDRPClient::Process(), cSVDRPServer::Process(), cSVDRPClientHandler::ProcessConnections(), cMenuMain::ProcessKey(), cMenuEditStrItem::ProcessKey(), cDisplayChannel::ProcessKey(), cDisplayTracks::ProcessKey(), cReplayControl::ProcessKey(), cMenuSetupOSD::ProcessKey(), cMenuSetupMisc::ProcessKey(), cDvbDevice::ProvidesTransponder(), cRemote::PutSetup(), cKeys::PutSetup(), cMenuWhatsOn::Record(), cMenuSchedule::Record(), cSubtitleObject::Render(), cChannels::ReNumber(), cSVDRPServer::Reply(), ReportEpgBugFixStats(), cShutdownHandler::RequestEmergencyExit(), cDvbPlayer::Save(), cSocket::SendDgram(), cSVDRPClientHandler::SendDiscover(), cMenuTimerItem::Set(), cSkinClassicDisplayMenu::SetButtons(), cSkinSTTNGDisplayMenu::SetButtons(), cSkinLCARSDisplayMenu::SetButtons(), cDevice::SetChannel(), cDvbTuner::SetFrontend(), cSkinClassicDisplayReplay::SetMode(), cSkinCursesDisplayReplay::SetMode(), cDevice::SetPrimaryDevice(), cDvbSpuDecoder::SetSpuScaling(), cPlugin::SetupStore(), cShutdownHandler::SetUserInactiveTimeout(), cDevice::SetVideoDisplayFormat(), cDevice::SetVolume(), cChannel::ShortName(), cReplayControl::ShowMode(), cReplayControl::ShowProgress(), cRecording::SortName(), cRecordControls::Start(), cPositioner::StartMovementTimer(), StartSVDRPHandler(), cReplayControl::Stop(), cMenuSetupBase::Store(), cMenuSetupReplay::Store(), cRecording::StripEpisodeName(), cMenuMain::Update(), cOsdProvider::UpdateOsdSize(), cInterface::Wait(), cFreetypeFont::Width(), cSVDRPClient::~cSVDRPClient(), and cSVDRPServer::~cSVDRPServer().

◆ SVDRPhosts

cSVDRPhosts SVDRPhosts

Definition at line 280 of file config.c.

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