summaryrefslogtreecommitdiff
path: root/vdr-vdrmanager/serversock.h
diff options
context:
space:
mode:
authorbju <bju@maxi.fritz.box>2014-01-23 22:05:58 +0100
committerbju <bju@maxi.fritz.box>2014-01-23 22:05:58 +0100
commitb58cae86e52d1f34c8e007e04f2dbc28650d8789 (patch)
tree2fd8c5739f7ab4f76279a61dec6539a8532b486d /vdr-vdrmanager/serversock.h
parent612e0e00b8d55b70d4b83d13fc75e7ddd78d2b58 (diff)
downloadvdr-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/serversock.h')
-rw-r--r--vdr-vdrmanager/serversock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vdr-vdrmanager/serversock.h b/vdr-vdrmanager/serversock.h
index 53eec62..e8c939e 100644
--- a/vdr-vdrmanager/serversock.h
+++ b/vdr-vdrmanager/serversock.h
@@ -8,14 +8,15 @@
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
-#include <openssl/ssl.h>
#include <string>
#include "clientsock.h"
+#if VDRMANAGER_USE_SSL
#define SSL_NO_RETRY 0
#define SSL_RETRY_READ 1
#define SSL_RETRY_WRITE 2
+#endif
using namespace std;