summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/dvb-core/demux.h
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@linuxtv.org>2005-09-10 00:02:21 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-10 00:57:36 +0400
commitc05100528efe997a27d841230f9f5b2f4adf3d0f (patch)
tree2fb3d714bcc1c83022b413ed6dace26f317c6c01 /drivers/media/dvb/dvb-core/demux.h
parent3cc2176cbbee6adfaceac2df6d77312cf30cee83 (diff)
downloadlinux-c05100528efe997a27d841230f9f5b2f4adf3d0f.tar.xz
[PATCH] dvb: core: glue code for DMX_GET_CAPS and DMX_SET_SOURCE
Glue code for DMX_GET_CAPS and DMX_SET_SOURCE ioctls. Signed-off-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb/dvb-core/demux.h')
-rw-r--r--drivers/media/dvb/dvb-core/demux.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-core/demux.h b/drivers/media/dvb/dvb-core/demux.h
index fb55eaa5c8e7..b86d03f5100b 100644
--- a/drivers/media/dvb/dvb-core/demux.h
+++ b/drivers/media/dvb/dvb-core/demux.h
@@ -30,6 +30,7 @@
#include <linux/errno.h>
#include <linux/list.h>
#include <linux/time.h>
+#include <linux/dvb/dmx.h>
/*--------------------------------------------------------------------------*/
/* Common definitions */
@@ -282,6 +283,10 @@ struct dmx_demux {
int (*get_pes_pids) (struct dmx_demux* demux, u16 *pids);
+ int (*get_caps) (struct dmx_demux* demux, struct dmx_caps *caps);
+
+ int (*set_source) (struct dmx_demux* demux, const dmx_source_t *src);
+
int (*get_stc) (struct dmx_demux* demux, unsigned int num,
u64 *stc, unsigned int *base);
};