summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-01-17 12:27:01 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2010-01-17 12:27:01 +0100
commitc198a259432a5ee612ac8dd211f8017f0786fedb (patch)
tree41ae5933cfac61d345c449a56d33a7dbde04169b /config.h
parent97e4dbe7737852144e97e4edff36be95f39c5cc5 (diff)
downloadvdr-c198a259432a5ee612ac8dd211f8017f0786fedb.tar.gz
vdr-c198a259432a5ee612ac8dd211f8017f0786fedb.tar.bz2
If svdrphosts.conf contains only the address of the local host, the SVDRP port is opened only for the local host
Diffstat (limited to 'config.h')
-rw-r--r--config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.h b/config.h
index 651e9ae7..68354b80 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h 2.18 2010/01/16 13:33:10 kls Exp $
+ * $Id: config.h 2.19 2010/01/17 12:22:21 kls Exp $
*/
#ifndef __CONFIG_H
@@ -72,6 +72,7 @@ private:
public:
cSVDRPhost(void);
bool Parse(const char *s);
+ bool IsLocalhost(void);
bool Accepts(in_addr_t Address);
};
@@ -190,6 +191,7 @@ class cCommands : public cConfig<cCommand> {};
class cSVDRPhosts : public cConfig<cSVDRPhost> {
public:
+ bool LocalhostOnly(void);
bool Acceptable(in_addr_t Address);
};