1 struct lnb_types_st { 2 char *name; 3 char **desc; 4 unsigned long low_val; 5 unsigned long high_val; /* zero indicates no hiband */ 6 unsigned long switch_val; /* zero indicates no hiband */ 7 }; 8 9 /* Enumerate through standard types of LNB's until NULL returned. 10 * Increment curno each time 11 */ 12 13 struct lnb_types_st * 14 lnb_enum(int curno); 15 16 /* Decode an lnb type, for example given on a command line 17 * If alpha and standard type, e.g. "Universal" then match that 18 * otherwise low[,high[,switch]] 19 */ 20 21 int 22 lnb_decode(char *str, struct lnb_types_st *lnbp); 23