freebsd-ports/multimedia/vdr-plugin-control/files/patch-telnet.c
Juergen Lock 8404535fe7 http://www.linuxtv.org/vdrwiki/index.php/Control-plugin
The 'control' plugin brings the ability to VDR to control
the whole OSD over a telnet client.

To reach this, 'control' listens on a network socket
(default is port 2002). If a client wants to connect, VDR
checks if that client is allowed to connect to VDR (see in
the documentation of VDR about the svdrphosts.conf file for
more info). If the connection is etablished, 'control'
sends the curent OSD state to the client. Also all key
strokes at the client side are redirected to VDR.

WWW: http://ricomp.de/vdr/down_en.html
2011-03-26 19:16:54 +00:00

14 lines
182 B
C

--- a/telnet.c
+++ b/telnet.c
@@ -12,7 +12,11 @@
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
#include <string.h>
//#include <sys/socket.h>