Go to the documentation of this file.
13 #include <arpa/inet.h>
25 #define VDRVERSION "1.7.31"
26 #define VDRVERSNUM 10731 // Version * 10000 + Major * 100 + Minor
30 #define APIVERSION "1.7.31"
31 #define APIVERSNUM 10731 // Version * 10000 + Major * 100 + Minor
33 #define JUMPPLAYVERSNUM 100
41 #define MAXPRIORITY 99
42 #define MINPRIORITY (-MAXPRIORITY)
43 #define LIVEPRIORITY 0 // priority used when selecting a device for live viewing
44 #define TRANSFERPRIORITY (LIVEPRIORITY - 1) // priority used for actual local Transfer Mode
45 #define IDLEPRIORITY (MINPRIORITY - 1) // priority of an idle device
46 #define MAXLIFETIME 99
47 #define DEFINSTRECTIME 180 // default instant recording time (minutes)
49 #define MINOSDWIDTH 480
50 #define MAXOSDWIDTH 1920
51 #define MINOSDHEIGHT 324
52 #define MAXOSDHEIGHT 1200
55 #define MAINMENUHOOKSVERSION "1.0.1"
56 #define MAINMENUHOOKSVERSNUM 10001 // Version * 10000 + Major * 100 + Minor
58 #define MaxFileName 256
59 #define MaxSkinName 16
60 #define MaxThemeName 16
69 #define STANDARD_DVB 0
70 #define STANDARD_ANSISCTE 1
80 bool Parse(
const char *s);
118 bool Load(
const char *
FileName = NULL,
bool AllowComments =
false,
bool MustExist =
false)
126 bool result = !MustExist;
135 while ((s = ReadLine.
Read(f)) != NULL) {
138 char *p = strchr(s,
'#');
162 fprintf(stderr,
"vdr: error while reading '%s'\n",
fileName);
168 T *l = (T *)this->
First();
211 bool Load(
const char *FileName);
249 bool Parse(
const char *
Name,
const char *Value);
251 void Store(
const char *
Name,
const char *Value,
const char *Plugin = NULL,
bool AllowMultiple =
false);
252 void Store(
const char *
Name,
int Value,
const char *Plugin = NULL);
253 void Store(
const char *
Name,
double &Value,
const char *Plugin = NULL);