diff options
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) { } |