summaryrefslogtreecommitdiff
path: root/mcast/client/.svn/text-base/dvblo_handler.h.svn-base
blob: beaa7ac517d98aab35b8984f49af3b45087ac7e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * (c) BayCom GmbH, http://www.baycom.de, info@baycom.de
 *
 * See the COPYING file for copyright information and
 * how to reach the author.
 *
 */

#define MAX_DEVICES 8

typedef struct dvblo_dev {
	struct list list;

	pthread_t dvblo_recv_thread;
	char uuid[UUID_SIZE];
	int device;
	int fd;
	pthread_t dvblo_ca_thread;
	int fd_ca;
	int recv_run;
	int ci_slot;
	int ca_enable;
	
	fe_type_t type;
	recv_info_t *r;
	ci_dev_t *c;
	struct dvb_frontend_info info;
	dvblo_cacaps_t *cacaps;
	dvblo_pids_t pids;
	dvb_pid_t dstpids[RECV_MAX_PIDS];
	dvblo_sec_t sec;
	struct dvb_frontend_parameters fe_parms;
	tra_t ten;
	int tuner;
	netceiver_info_t *nci;
} dvblo_dev_t;

int dvblo_init (void);
void dvblo_exit (void);
void dvblo_handler (void);