vdr  1.7.31
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)
 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
 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 74 of file config.h.

Constructor & Destructor Documentation

cSVDRPhost::cSVDRPhost ( void  )

Definition at line 27 of file config.c.

References addr, and mask.

cSVDRPhost::cSVDRPhost ( void  )

Member Function Documentation

bool cSVDRPhost::Accepts ( in_addr_t  Address)

Definition at line 61 of file config.c.

References addr, and mask.

Referenced by cSVDRPhosts::Acceptable().

bool cSVDRPhost::Accepts ( in_addr_t  Address)
bool cSVDRPhost::IsLocalhost ( void  )
bool cSVDRPhost::IsLocalhost ( void  )

Definition at line 56 of file config.c.

References addr.

Referenced by cSVDRPhosts::LocalhostOnly().

bool cSVDRPhost::Parse ( const char *  s)
bool cSVDRPhost::Parse ( const char *  s)

Definition at line 33 of file config.c.

References addr, and mask.

Member Data Documentation

struct in_addr cSVDRPhost::addr
private

Definition at line 76 of file config.h.

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

in_addr_t cSVDRPhost::mask
private

Definition at line 77 of file config.h.

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


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