1 /*
2 	ZAP utility DVB functions
3 
4 	Copyright (C) 2004, 2005 Manu Abraham <abraham.manu@gmail.com>
5 	Copyright (C) 2006 Andrew de Quincey (adq_dvb@lidskialf.net)
6 
7 	This program is free software; you can redistribute it and/or modify
8 	it under the terms of the GNU Lesser General Public License as
9 	published by the Free Software Foundation; either version 2.1 of
10 	the License, or (at your option) any later version.
11 
12 	This program is distributed in the hope that it will be useful,
13 	but WITHOUT ANY WARRANTY; without even the implied warranty of
14 	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 	GNU Lesser General Public License for more details.
16 
17 	You should have received a copy of the GNU Lesser General Public
18 	License along with this library; if not, write to the Free Software
19 	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
20 */
21 
22 #ifndef ZAP_DVB_H
23 #define ZAP_DVB_H 1
24 
25 #include <libdvbcfg/dvbcfg_zapchannel.h>
26 #include <libdvbsec/dvbsec_api.h>
27 
28 struct zap_dvb_params {
29 	int adapter_id;
30 	int frontend_id;
31 	int demux_id;
32 	struct dvbcfg_zapchannel channel;
33 	struct dvbsec_config sec;
34 	int valid_sec;
35 	struct dvbfe_handle *fe;
36 };
37 
38 extern int zap_dvb_start(struct zap_dvb_params *params);
39 extern void zap_dvb_stop(void);
40 
41 #endif
42