forked from oscam-mirror/oscam-emu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodule-dvbapi-stapi.h
More file actions
26 lines (20 loc) · 787 Bytes
/
module-dvbapi-stapi.h
File metadata and controls
26 lines (20 loc) · 787 Bytes
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
#ifndef MODULE_DVBAPI_STAPI_H_
#define MODULE_DVBAPI_STAPI_H_
int32_t stapi_open(void);
int32_t stapi_set_filter(int32_t demux_id, uint16_t pid, uint8_t *filter, uint8_t *mask, int32_t num, char *pmtfile);
int32_t stapi_remove_filter(int32_t demux_id, int32_t num, char *pmtfile);
int32_t stapi_set_pid(int32_t demux_id, int32_t num, uint32_t idx, uint16_t pid, char *pmtfile);
int32_t stapi_write_cw(int32_t demux_id, uint8_t *cw, uint16_t *, int32_t, char *pmtfile);
int32_t stapi_activate_section_filter(int32_t fd, uint8_t *filter, uint8_t *mask);
#ifdef WITH_STAPI5
struct STDEVICE
{
char name[20];
uint32_t SessionHandle;
uint32_t SignalHandle;
pthread_t thread;
struct filter_s demux_fd[MAX_DEMUX][MAX_FILTER];
};
extern struct STDEVICE dev_list[PTINUM];
#endif
#endif