vdr 2.6.9
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 83 of file config.h.

Constructor & Destructor Documentation

◆ cSVDRPhost()

cSVDRPhost::cSVDRPhost ( void )

Definition at line 28 of file config.c.

References addr, and mask.

Member Function Documentation

◆ Accepts()

bool cSVDRPhost::Accepts ( in_addr_t Address)

Definition at line 62 of file config.c.

References addr, and mask.

Referenced by cSVDRPhosts::Acceptable().

◆ IsLocalhost()

bool cSVDRPhost::IsLocalhost ( void )

Definition at line 57 of file config.c.

References addr.

Referenced by cSVDRPhosts::LocalhostOnly().

◆ Parse()

bool cSVDRPhost::Parse ( const char * s)

Definition at line 34 of file config.c.

References addr, and mask.

Member Data Documentation

◆ addr

struct in_addr cSVDRPhost::addr
private

Definition at line 85 of file config.h.

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

◆ mask

in_addr_t cSVDRPhost::mask
private

Definition at line 86 of file config.h.

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


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