summaryrefslogtreecommitdiff
path: root/server/connection.h
diff options
context:
space:
mode:
authorschmirl <schmirl>2008-10-14 11:05:57 +0000
committerschmirl <schmirl>2008-10-14 11:05:57 +0000
commit52b4bfcd8cf144f3fdd7f3b22f3c9ae2e58b7df9 (patch)
treef9067fb11476570eeb12c29dc3bdf27b5524c3b9 /server/connection.h
parent9258019e0f3cff4736930286bc968b74013090b9 (diff)
downloadvdr-plugin-streamdev-52b4bfcd8cf144f3fdd7f3b22f3c9ae2e58b7df9.tar.gz
vdr-plugin-streamdev-52b4bfcd8cf144f3fdd7f3b22f3c9ae2e58b7df9.tar.bz2
- added HTTP authentication (#475)
Modified Files: Tag: v0_4 HISTORY README streamdev-server.c server/connection.h server/connectionHTTP.c server/connectionHTTP.h server/server.c server/server.h
Diffstat (limited to 'server/connection.h')
-rw-r--r--server/connection.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/connection.h b/server/connection.h
index fe828d9..0ca7153 100644
--- a/server/connection.h
+++ b/server/connection.h
@@ -1,5 +1,5 @@
/*
- * $Id: connection.h,v 1.5 2007/04/16 11:01:02 schmirl Exp $
+ * $Id: connection.h,v 1.5.2.1 2008/10/14 11:05:59 schmirl Exp $
*/
#ifndef VDR_STREAMDEV_SERVER_CONNECTION_H
@@ -47,6 +47,9 @@ public:
cServerConnection(const char *Protocol);
virtual ~cServerConnection();
+ /* If true, any client IP will be accepted */
+ virtual bool CanAuthenticate(void) { return false; }
+
/* Gets called if the client has been accepted by the core */
virtual void Welcome(void) { }