diff options
author | Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> | 2006-06-03 13:12:54 +0200 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2013-09-03 09:48:40 +0200 |
commit | 43dd9e25dce3963f25444533466ad1f8faa66e47 (patch) | |
tree | 134e7e7d2a0f0df1e731e65bffc445bd026539fb /util/scan/lnb.h | |
parent | 2ade78e0b7545aa63792aa4b08f0f88eba0b0e3e (diff) | |
parent | 6b350466c4902c5b137e0efaf1d189128a7f18f5 (diff) | |
download | linux-dvb-apps-debian/1.1.1-1.tar.gz |
Imported Debian patch 1.1.1-1debian/1.1.1-1
Diffstat (limited to '')
-rw-r--r-- | util/scan/lnb.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/util/scan/lnb.h b/util/scan/lnb.h new file mode 100644 index 0000000..f78b7a6 --- /dev/null +++ b/util/scan/lnb.h @@ -0,0 +1,24 @@ + +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); + |