struct dvb_v5_stats stats;
/* Satellite specific stuff, specified by the library client */
- struct dvb_sat_lnb *lnb;
+ const struct dvb_sat_lnb *lnb;
int sat_number;
unsigned freq_bpf;
int dvb_sat_search_lnb(const char *name);
int print_lnb(int i);
void print_all_lnb(void);
-struct dvb_sat_lnb *dvb_sat_get_lnb(int i);
+const struct dvb_sat_lnb *dvb_sat_get_lnb(int i);
int dvb_sat_set_parms(struct dvb_v5_fe_parms *parms);
int dvb_sat_get_parms(struct dvb_v5_fe_parms *parms);
#include "dvb-fe.h"
#include "dvb-v5-std.h"
-struct dvb_sat_lnb lnb[] = {
+static const struct dvb_sat_lnb lnb[] = {
{
.name = "Europe",
.alias = "UNIVERSAL",
}
}
-struct dvb_sat_lnb *dvb_sat_get_lnb(int i)
+const struct dvb_sat_lnb *dvb_sat_get_lnb(int i)
{
if (i < 0 || i >= ARRAY_SIZE(lnb))
return NULL;
int dvb_sat_set_parms(struct dvb_v5_fe_parms *parms)
{
- struct dvb_sat_lnb *lnb = parms->lnb;
+ const struct dvb_sat_lnb *lnb = parms->lnb;
enum dvb_sat_polarization pol;
dvb_fe_retrieve_parm(parms, DTV_POLARIZATION, &pol);
uint32_t freq;