|
vdr 2.8.1
|
#include <recording.h>
Public Member Functions | |
| cResumeFile (const char *FileName, bool IsPesRecording) | |
| ~cResumeFile () | |
| void | SetFileName (const char *FileName) |
| time_t | FileTime (void) |
| int | Index (void) |
| int | Read (void) |
| bool | Save (int Index) |
| void | Reset (void) |
| void | Delete (void) |
Private Attributes | |
| char * | fileName |
| time_t | fileTime |
| int | index |
| bool | isPesRecording |
Definition at line 52 of file recording.h.
| cResumeFile::cResumeFile | ( | const char * | FileName, |
| bool | IsPesRecording ) |
Definition at line 244 of file recording.c.
References fileName, fileTime, index, isPesRecording, RESUME_NOT_INITIALIZED, and SetFileName().
| cResumeFile::~cResumeFile | ( | ) |
Definition at line 253 of file recording.c.
References fileName.
| void cResumeFile::Delete | ( | void | ) |
Definition at line 378 of file recording.c.
References fileName, LOCK_RECORDINGS_WRITE, and LOG_ERROR_STR.
Referenced by cSVDRPServer::CmdPLAY().
| time_t cResumeFile::FileTime | ( | void | ) |
Definition at line 272 of file recording.c.
References fileTime, index, Read(), and RESUME_NOT_INITIALIZED.
| int cResumeFile::Index | ( | void | ) |
Definition at line 279 of file recording.c.
References index, Read(), and RESUME_NOT_INITIALIZED.
Referenced by Save().
| int cResumeFile::Read | ( | void | ) |
Definition at line 286 of file recording.c.
References fileName, fileTime, index, isPesRecording, LOG_ERROR_STR, cReadLine::Read(), safe_read(), and skipspace().
Referenced by FileTime(), and Index().
| void cResumeFile::Reset | ( | void | ) |
Definition at line 373 of file recording.c.
References index, and RESUME_NOT_INITIALIZED.
Referenced by SetFileName().
| bool cResumeFile::Save | ( | int | Index | ) |
Definition at line 333 of file recording.c.
References fileName, fileTime, cRecordings::GetRecordingsWrite(), Index(), index, isPesRecording, LOG_ERROR_STR, cStateKey::Remove(), and safe_write().
Referenced by cSVDRPServer::CmdPLAY().
| void cResumeFile::SetFileName | ( | const char * | FileName | ) |
Definition at line 258 of file recording.c.
References esyslog, fileName, isPesRecording, itoa(), MALLOC, Reset(), RESUMEFILESUFFIX, and Setup.
Referenced by cResumeFile().
|
private |
Definition at line 54 of file recording.h.
Referenced by cResumeFile(), Delete(), Read(), Save(), SetFileName(), and ~cResumeFile().
|
private |
Definition at line 55 of file recording.h.
Referenced by cResumeFile(), FileTime(), Read(), and Save().
|
private |
Definition at line 56 of file recording.h.
Referenced by cResumeFile(), FileTime(), Index(), Read(), Reset(), and Save().
|
private |
Definition at line 57 of file recording.h.
Referenced by cResumeFile(), Read(), Save(), and SetFileName().