diff options
author | schmirl <schmirl> | 2008-10-14 11:05:46 +0000 |
---|---|---|
committer | schmirl <schmirl> | 2008-10-14 11:05:46 +0000 |
commit | 86c82c138122a9ed282a6496c8e20ceceda3ef16 (patch) | |
tree | ab406c1d655af306a5e8460fe5f31af28775b713 /server/connection.h | |
parent | 992444cb67e700619293d3642f95f40b18d1b62e (diff) | |
download | vdr-plugin-streamdev-86c82c138122a9ed282a6496c8e20ceceda3ef16.tar.gz vdr-plugin-streamdev-86c82c138122a9ed282a6496c8e20ceceda3ef16.tar.bz2 |
- added HTTP authentication (#475)
Modified Files:
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.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/connection.h b/server/connection.h index fe828d9..69c24fe 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.6 2008/10/14 11:05:47 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) { } |