File: lnb.h

package info (click to toggle)
linuxtv-dvb-apps 1.1.1%2Brev1483-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,556 kB
  • sloc: ansic: 48,832; makefile: 792; perl: 236; sh: 110; xml: 13
file content (22 lines) | stat: -rw-r--r-- 550 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
struct lnb_types_st {
	char	*name;
	char	**desc;
	unsigned long	low_val;
	unsigned long	high_val;	/* zero indicates no hiband */
	unsigned long	switch_val;	/* zero indicates no hiband */
};

/* Enumerate through standard types of LNB's until NULL returned.
 * Increment curno each time
 */

struct lnb_types_st *
lnb_enum(int curno);

/* Decode an lnb type, for example given on a command line
 * If alpha and standard type, e.g. "Universal" then match that
 * otherwise low[,high[,switch]]
 */

int
lnb_decode(char *str, struct lnb_types_st *lnbp);