forked from catalinii/minisatip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netceiver.h
32 lines (26 loc) · 812 Bytes
/
netceiver.h
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
#ifndef NETCEIVERCLIENT_H
#define NETCEIVERCLIENT_H
#include "adapter.h"
#define API_SOCK
#ifndef DISABLE_LINUXDVB
#undef AOT_CA_PMT
#include "headers.h"
#else
#include "netceiver_mcli_defs.h"
#endif
// undefine non-standard Netceiver FEC numbering
#undef FEC_1_4
#undef FEC_1_3
#undef FEC_2_5
#undef FEC_3_5
#undef FEC_9_10
void find_netcv_adapter(adapter **a);
typedef struct struct_netceiver {
recv_info_t *ncv_rec; // pointer to libmcli receiver instance
int err; // error during receiver instance creation
int pwfd; // file descriptor to writeable end of pipe for TS data
uint16_t npid[MAX_PIDS]; // active pids
int lp; // number of active pids
char want_tune, want_commit; // tuining & and PID handling state machine
} SNetceiver;
#endif