lnb.h 550 B

12345678910111213141516171819202122
  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. /* Enumerate through standard types of LNB's until NULL returned.
  9. * Increment curno each time
  10. */
  11. struct lnb_types_st *
  12. lnb_enum(int curno);
  13. /* Decode an lnb type, for example given on a command line
  14. * If alpha and standard type, e.g. "Universal" then match that
  15. * otherwise low[,high[,switch]]
  16. */
  17. int
  18. lnb_decode(char *str, struct lnb_types_st *lnbp);