]> git.zerfleddert.de Git - record-dvb/blob - mcast.c
242fac09f807e64b62bac9acf11027c1d32719d2
[record-dvb] / mcast.c
1 #include <strings.h>
2 #include <string.h>
3 #include <stdio.h>
4 #include <stdlib.h>
5 #include "mcast.h"
6
7 int is_mcast(char *url)
8 {
9 if (strlen(url) < 7)
10 return 0;
11
12 if (!strncasecmp("udp://",url,6))
13 return 1;
14
15 return 0;
16 }
17
18 int open_mcast(char *url)
19 {
20 if(!is_mcast(url))
21 return -1;
22
23 fprintf(stderr,"multicast currently unimplemented!\n");
24 return -1;
25 }
Impressum, Datenschutz