vdr  2.6.9
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)
 
- Public Member Functions inherited from cConfig< cSVDRPhost >
 cConfig (const char *NeedsLocking=NULL)
 
virtual ~cConfig ()
 
const char * FileName (void)
 
bool Load (const char *FileName=NULL, bool AllowComments=false, bool MustExist=false)
 
bool Save (void) const
 
- Public Member Functions inherited from cList< T >
 cList (const char *NeedsLocking=NULL)
 
const T * Get (int Index) const
 
const T * First (void) const
 
const T * Last (void) const
 
const T * Prev (const T *Object) const
 
const T * Next (const T *Object) const
 
T * Get (int Index)
 
T * First (void)
 
T * Last (void)
 
T * Prev (const T *Object)
 
T * Next (const T *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)
 
bool Contains (const cListObject *Object) const
 
const cListObjectGet (int Index) const
 
cListObjectGet (int Index)
 
int Count (void) const
 
void Sort (void)
 

Additional Inherited Members

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

Detailed Description

Definition at line 224 of file config.h.

Member Function Documentation

◆ Acceptable()

bool cSVDRPhosts::Acceptable ( in_addr_t  Address)

Definition at line 293 of file config.c.

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

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

◆ LocalhostOnly()

bool cSVDRPhosts::LocalhostOnly ( void  )

Definition at line 282 of file config.c.

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

Referenced by cSocket::Listen().


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