libdvbv5  1.4.0
Library to work with Digital TV streams
dvb-sat.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2011-2014 - Mauro Carvalho Chehab
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation version 2
7  * of the License.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  * Or, point your browser to http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
18  */
19 #ifndef _LIBSAT_H
20 #define _LIBSAT_H
21 
22 #include "dvb-v5-std.h"
23 
33 /*
34  * Satellite handling functions
35  */
36 
45  unsigned low, high;
46 };
47 
70 struct dvb_sat_lnb {
71  const char *name;
72  const char *alias;
73  unsigned lowfreq, highfreq;
74 
75  unsigned rangeswitch;
76 
78 };
79 
81 
82 #ifdef __cplusplus
83 extern "C"
84 #endif
85 
86 /* From libsat.c */
87 
99 int dvb_sat_search_lnb(const char *name);
100 
109 int dvb_print_lnb(int i);
110 
118 void dvb_print_all_lnb(void);
119 
128 const struct dvb_sat_lnb *dvb_sat_get_lnb(int i);
129 
141 int dvb_sat_set_parms(struct dvb_v5_fe_parms *parms);
142 
143 #ifdef __cplusplus
144 }
145 #endif
146 
147 #endif // _LIBSAT_H
Stores the information of a LNBf.
Definition: dvb-sat.h:70
unsigned low
Definition: dvb-sat.h:45
int dvb_sat_search_lnb(const char *name)
search for a LNBf entry
Definition: dvb-sat.h:80
unsigned high
Definition: dvb-sat.h:45
int dvb_print_lnb(int i)
prints the contents of a LNBf entry at STDOUT.
struct dvbsat_freqrange freqrange[2]
Definition: dvb-sat.h:77
const struct dvb_sat_lnb * dvb_sat_get_lnb(int i)
gets a LNBf entry at its internal database
unsigned rangeswitch
Definition: dvb-sat.h:75
Keeps data needed to handle the DVB frontend.
Definition: dvb-fe.h:113
void dvb_print_all_lnb(void)
Prints all LNBf entries at STDOUT.
Provides libdvbv5 defined properties for the frontend.
unsigned highfreq
Definition: dvb-sat.h:73
int dvb_sat_set_parms(struct dvb_v5_fe_parms *parms)
sets the satellite parameters
const char * name
Definition: dvb-sat.h:71
unsigned lowfreq
Definition: dvb-sat.h:73
Defines a frequency range used by Satellite.
Definition: dvb-sat.h:44
const char * alias
Definition: dvb-sat.h:72