blob: 0aff05cb9415b3dd183638d45091094466297036 [file] [log] [blame]
Michael Krufky04910bd2008-02-03 23:46:16 -03001#ifndef __PVRUSB2_DVB_H__
2#define __PVRUSB2_DVB_H__
3
4#include "dvb_frontend.h"
5#include "dvb_demux.h"
6#include "dvb_net.h"
7#include "dmxdev.h"
8#include "pvrusb2-context.h"
9
10struct pvr2_dvb_adapter {
11 struct pvr2_context *pvr;
12
13 struct dvb_adapter dvb_adap;
14 struct dmxdev dmxdev;
15 struct dvb_demux demux;
16 struct dvb_net dvb_net;
17 struct dvb_frontend *fe;
18
19 int feedcount;
20 int max_feed_count;
21
22 unsigned int digital_up:1;
23};
24
25struct pvr2_dvb_props {
26 int (*frontend_attach) (struct pvr2_dvb_adapter *);
27 int (*tuner_attach) (struct pvr2_dvb_adapter *);
28};
29
30int pvr2_dvb_init(struct pvr2_context *pvr);
31int pvr2_dvb_exit(struct pvr2_context *pvr);
32
33#endif /* __PVRUSB2_DVB_H__ */