lnb.h 549 B

1234567891011121314151617181920
  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 *lnb_enum(int curno);
  12. /* Decode an lnb type, for example given on a command line
  13. * If alpha and standard type, e.g. "Universal" then match that
  14. * otherwise low[,high[,switch]]
  15. */
  16. int lnb_decode(char *str, struct lnb_types_st *lnbp);