vdr  2.2.0
Public Member Functions | Private Attributes | List of all members
cSVDRPhost Class Reference

#include <config.h>

Public Member Functions

 cSVDRPhost (void)
 
bool Parse (const char *s)
 
bool IsLocalhost (void)
 
bool Accepts (in_addr_t Address)
 
- Public Member Functions inherited from cListObject
 cListObject (void)
 
virtual ~cListObject ()
 
virtual int Compare (const cListObject &ListObject) const
 
void Append (cListObject *Object)
 
void Insert (cListObject *Object)
 
void Unlink (void)
 
int Index (void) const
 
cListObjectPrev (void) const
 
cListObjectNext (void) const
 

Private Attributes

struct in_addr addr
 
in_addr_t mask
 

Detailed Description

Definition at line 76 of file config.h.

Constructor & Destructor Documentation

cSVDRPhost::cSVDRPhost ( void  )

Definition at line 28 of file config.c.

References addr, and mask.

Member Function Documentation

bool cSVDRPhost::Accepts ( in_addr_t  Address)

Definition at line 62 of file config.c.

References addr, and mask.

Referenced by cSVDRPhosts::Acceptable().

bool cSVDRPhost::IsLocalhost ( void  )

Definition at line 57 of file config.c.

References addr.

Referenced by cSVDRPhosts::LocalhostOnly().

bool cSVDRPhost::Parse ( const char *  s)

Definition at line 34 of file config.c.

References addr, and mask.

Referenced by cNestedItemList::Load(), cSetup::Load(), cNestedItemList::Parse(), and cSetupLine::Value().

Member Data Documentation

struct in_addr cSVDRPhost::addr
private

Definition at line 78 of file config.h.

Referenced by Accepts(), cSVDRPhost(), IsLocalhost(), and Parse().

in_addr_t cSVDRPhost::mask
private

Definition at line 79 of file config.h.

Referenced by Accepts(), cSVDRPhost(), and Parse().


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