diff options
author | bju <bju@maxi.fritz.box> | 2014-01-23 22:05:58 +0100 |
---|---|---|
committer | bju <bju@maxi.fritz.box> | 2014-01-23 22:05:58 +0100 |
commit | b58cae86e52d1f34c8e007e04f2dbc28650d8789 (patch) | |
tree | 2fd8c5739f7ab4f76279a61dec6539a8532b486d /vdr-vdrmanager/vdrmanagerthread.h | |
parent | 612e0e00b8d55b70d4b83d13fc75e7ddd78d2b58 (diff) | |
download | vdr-manager-b58cae86e52d1f34c8e007e04f2dbc28650d8789.tar.gz vdr-manager-b58cae86e52d1f34c8e007e04f2dbc28650d8789.tar.bz2 |
- Giving VDRMANAGER_USE_{SSL,GZIP,ZLIB}=0 (default is 1) to the make call
SSL support and the compression methods can be disabled. This eliminates
the compile time and also the runtime dependencies.
- The Gentoo ebuils uses the USE flags "ssl", "gzip" and "zlib" to control
the SSL and compress features.
Diffstat (limited to 'vdr-vdrmanager/vdrmanagerthread.h')
-rw-r--r-- | vdr-vdrmanager/vdrmanagerthread.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/vdr-vdrmanager/vdrmanagerthread.h b/vdr-vdrmanager/vdrmanagerthread.h index 57e129b..96866b7 100644 --- a/vdr-vdrmanager/vdrmanagerthread.h +++ b/vdr-vdrmanager/vdrmanagerthread.h @@ -20,15 +20,24 @@ class cVdrManagerThread : public cThread { private: cSelect * select; int port; - int sslPort; const char * password; bool forceCheckSvdrp; int compressionMode; +#if VDRMANAGER_USE_SSL + int sslPort; const char * certFile; const char * keyFile; +#endif public: - cVdrManagerThread(int port, int sslPort, const char * password, bool forceCheckSvdrp, int compressionMode, - const char * certFile, const char * keyFile); + cVdrManagerThread(int port, +#if VDRMANAGER_USE_SSL + int sslPort, +#endif + const char * password, bool forceCheckSvdrp, int compressionMode +#if VDRMANAGER_USE_SSL + , const char * certFile, const char * keyFile +#endif + ); virtual void Action(void); void Shutdown(); private: |