]> git.zerfleddert.de Git - record-dvb/commitdiff
only infrastructure
authormichael <michael>
Sat, 1 Jul 2006 17:15:30 +0000 (17:15 +0000)
committermichael <michael>
Sat, 1 Jul 2006 17:15:30 +0000 (17:15 +0000)
mcast.c

diff --git a/mcast.c b/mcast.c
index 242fac09f807e64b62bac9acf11027c1d32719d2..e328932934bcc9c5de30eb765ee13152f7e1d112 100644 (file)
--- a/mcast.c
+++ b/mcast.c
@@ -2,6 +2,8 @@
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
+
+#include "common.h"
 #include "mcast.h"
 
 int is_mcast(char *url)
 #include "mcast.h"
 
 int is_mcast(char *url)
@@ -17,9 +19,16 @@ int is_mcast(char *url)
 
 int open_mcast(char *url)
 {
 
 int open_mcast(char *url)
 {
+       struct dvb_host *dvbhost;
+       int fd;
+
        if(!is_mcast(url))
                return -1;
 
        if(!is_mcast(url))
                return -1;
 
+       dvbhost = parse(&(url[6]), "2000");
+
        fprintf(stderr,"multicast currently unimplemented!\n");
        return -1;
        fprintf(stderr,"multicast currently unimplemented!\n");
        return -1;
+
+       return fd;
 }
 }
Impressum, Datenschutz