|
vdr 2.8.3
|
#include <tools.h>
Public Member Functions | |
| cFile (void) | |
| ~cFile () | |
| operator int () | |
| bool | Open (const char *FileName, int Flags, mode_t Mode=DEFFILEMODE) |
| bool | Open (int FileDes, bool Owner=true) |
| void | Close (void) |
| bool | IsOpen (void) |
| bool | Ready (bool Wait=true) |
Static Public Member Functions | |
| static bool | FileReady (int FileDes, int TimeoutMs=1000) |
Private Attributes | |
| int | f |
| bool | owner |
| void cFile::Close | ( | void | ) |
Definition at line 1763 of file tools.c.
Referenced by cSVDRPClient::Close(), cSVDRPServer::Close(), and ~cFile().
|
static |
Definition at line 1777 of file tools.c.
Referenced by cLircUsrRemote::Action(), and Ready().
|
inline |
Definition at line 492 of file tools.h.
References f.
Referenced by cSVDRPClient::Close(), cSVDRPServer::Close(), cSVDRPServer::HasConnection(), Open(), Open(), cSVDRPClient::Process(), cSVDRPServer::Process(), and cSVDRPServer::Reply().
| bool cFile::Open | ( | const char * | FileName, |
| int | Flags, | ||
| mode_t | Mode = DEFFILEMODE ) |
Definition at line 1742 of file tools.c.
References esyslog, IsOpen(), and Open().
Referenced by cSVDRPClient::cSVDRPClient(), cSVDRPServer::cSVDRPServer(), and Open().
| bool cFile::Open | ( | int | FileDes, |
| bool | Owner = true ) |
| bool cFile::Ready | ( | bool | Wait = true | ) |
Definition at line 1772 of file tools.c.
References f, and FileReady().
Referenced by cSVDRPClient::Process(), and cSVDRPServer::Process().
|
private |
|
private |