summaryrefslogtreecommitdiffstats
path: root/sys/dvb/parsechannels.h
diff options
context:
space:
mode:
authorZaheer Abbas Merali <zaheerabbas@merali.org>2008-02-08 18:22:08 +0000
committerZaheer Abbas Merali <zaheerabbas@merali.org>2008-02-08 18:22:08 +0000
commit1316ad4d71faff4f878c304b06c80a3bccbf47e9 (patch)
tree10c60c69fefc8502719bf7267ec9739cba4ad294 /sys/dvb/parsechannels.h
parent4ee87c566bac4431897b58534822b1b60c5d4cde (diff)
downloadgst-plugins-bad-1316ad4d71faff4f878c304b06c80a3bccbf47e9.tar.gz
gst-plugins-bad-1316ad4d71faff4f878c304b06c80a3bccbf47e9.tar.bz2
gst-plugins-bad-1316ad4d71faff4f878c304b06c80a3bccbf47e9.zip
sys/dvb/: Add URI Handler for dvb.
Original commit message from CVS: * sys/dvb/Makefile.am: * sys/dvb/dvbbasebin.c: Add URI Handler for dvb. Re-order pad templates to workaround a bug in playbasebin. * sys/dvb/parsechannels.c: * sys/dvb/parsechannels.h: Add code to parse channels from zap-style channels.conf files.
Diffstat (limited to 'sys/dvb/parsechannels.h')
-rw-r--r--sys/dvb/parsechannels.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/sys/dvb/parsechannels.h b/sys/dvb/parsechannels.h
new file mode 100644
index 00000000..727419b1
--- /dev/null
+++ b/sys/dvb/parsechannels.h
@@ -0,0 +1,31 @@
+/*
+ * parsechannels.h - Parse channels.conf
+ * Copyright (C) 2007 Alessandro Decina
+ *
+ * Authors:
+ * Zaheer Abbas Merali <zaheerabbas at merali dot org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef PARSE_CHANNELS_H
+#define PARSE_CHANNELS_H
+
+GHashTable* parse_channels_conf_from_file(const gchar* filename);
+gboolean set_properties_for_channel(GObject *dvbbasebin,
+ const gchar* channel_name);
+
+#endif