vdr 2.6.1
Public Member Functions | List of all members
cSVDRPhosts Class Reference

#include <config.h>

Public Member Functions

bool LocalhostOnly (void)
 
bool Acceptable (in_addr_t Address)
 
bool LocalhostOnly (void)
 
bool Acceptable (in_addr_t Address)
 
- Public Member Functions inherited from cConfig< cSVDRPhost >
 cConfig (const char *NeedsLocking=NULL)
 
 cConfig (const char *NeedsLocking=NULL)
 
virtual ~cConfig ()
 
virtual ~cConfig ()
 
const char * FileName (void)
 
const char * FileName (void)
 
bool Load (const char *FileName=NULL, bool AllowComments=false, bool MustExist=false)
 
bool Load (const char *FileName=NULL, bool AllowComments=false, bool MustExist=false)
 
bool Save (void) const
 
bool Save (void) const
 
- Public Member Functions inherited from cList< cSVDRPhost >
 cList (const char *NeedsLocking=NULL)
 
 cList (const char *NeedsLocking=NULL)
 
const cSVDRPhost * Get (int Index) const
 
cSVDRPhost * Get (int Index)
 
const cSVDRPhost * Get (int Index) const
 
cSVDRPhost * Get (int Index)
 
const cSVDRPhost * First (void) const
 
cSVDRPhost * First (void)
 
const cSVDRPhost * First (void) const
 
cSVDRPhost * First (void)
 
const cSVDRPhost * Last (void) const
 
cSVDRPhost * Last (void)
 
const cSVDRPhost * Last (void) const
 
cSVDRPhost * Last (void)
 
const cSVDRPhost * Prev (const cSVDRPhost *Object) const
 
cSVDRPhost * Prev (const cSVDRPhost *Object)
 
const cSVDRPhost * Prev (const cSVDRPhost *Object) const
 
cSVDRPhost * Prev (const cSVDRPhost *Object)
 
const cSVDRPhost * Next (const cSVDRPhost *Object) const
 
cSVDRPhost * Next (const cSVDRPhost *Object)
 
const cSVDRPhost * Next (const cSVDRPhost *Object) const
 
cSVDRPhost * Next (const cSVDRPhost *Object)
 
- Public Member Functions inherited from cListBase
virtual ~cListBase ()
 
bool Lock (cStateKey &StateKey, bool Write=false, int TimeoutMs=0) const
 
void SetSyncStateKey (cStateKey &StateKey)
 
void SetUseGarbageCollector (void)
 
void SetExplicitModify (void)
 
void SetModified (void)
 
void Add (cListObject *Object, cListObject *After=NULL)
 
void Ins (cListObject *Object, cListObject *Before=NULL)
 
void Del (cListObject *Object, bool DeleteObject=true)
 
virtual void Move (int From, int To)
 
void Move (cListObject *From, cListObject *To)
 
virtual void Clear (void)
 
bool Contains (const cListObject *Object) const
 
const cListObject * Get (int Index) const
 
cListObject * Get (int Index)
 
int Count (void) const
 
void Sort (void)
 
virtual ~cListBase ()
 
bool Lock (cStateKey &StateKey, bool Write=false, int TimeoutMs=0) const
 
void SetSyncStateKey (cStateKey &StateKey)
 
void SetUseGarbageCollector (void)
 
void SetExplicitModify (void)
 
void SetModified (void)
 
void Add (cListObject *Object, cListObject *After=NULL)
 
void Ins (cListObject *Object, cListObject *Before=NULL)
 
void Del (cListObject *Object, bool DeleteObject=true)
 
virtual void Move (int From, int To)
 
void Move (cListObject *From, cListObject *To)
 
virtual void Clear (void)
 
bool Contains (const cListObject *Object) const
 
const cListObject * Get (int Index) const
 
cListObject * Get (int Index)
 
int Count (void) const
 
void Sort (void)
 

Additional Inherited Members

- Protected Member Functions inherited from cListBase
 cListBase (const char *NeedsLocking=NULL)
 
 cListBase (const char *NeedsLocking=NULL)
 
- Protected Attributes inherited from cListBase
cListObject * objects
 
cListObject * lastObject
 
int count
 
cStateLock stateLock
 
const char * needsLocking
 
bool useGarbageCollector
 

Detailed Description

Definition at line 224 of file config.h.

Member Function Documentation

◆ Acceptable() [1/2]

bool cSVDRPhosts::Acceptable ( in_addr_t  Address)

◆ Acceptable() [2/2]

bool cSVDRPhosts::Acceptable ( in_addr_t  Address)

◆ LocalhostOnly() [1/2]

bool cSVDRPhosts::LocalhostOnly ( void  )

Definition at line 282 of file config.c.

References cList< cSVDRPhost >::First(), cSVDRPhost::IsLocalhost(), and cListObject::Next().

Referenced by cSocket::Listen().

◆ LocalhostOnly() [2/2]

bool cSVDRPhosts::LocalhostOnly ( void  )

The documentation for this class was generated from the following files: