diff options
author | Lars Heer <l.heer@gmx.de> | 2013-09-18 05:50:03 +0200 |
---|---|---|
committer | Lars Heer <l.heer@gmx.de> | 2013-09-18 05:50:03 +0200 |
commit | ccf6e0f9c6b0481ed13e0f4794e3fbead750f385 (patch) | |
tree | ed86efb54f7ee41edfba5c89ca519b5fd10aa0d5 /mcast/common/input.h | |
download | vdr-plugin-mcli-ccf6e0f9c6b0481ed13e0f4794e3fbead750f385.tar.gz vdr-plugin-mcli-ccf6e0f9c6b0481ed13e0f4794e3fbead750f385.tar.bz2 |
added vdr-plugin-mcli-0.0.1+svn20120927
Diffstat (limited to 'mcast/common/input.h')
-rw-r--r-- | mcast/common/input.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/mcast/common/input.h b/mcast/common/input.h new file mode 100644 index 0000000..fbda65b --- /dev/null +++ b/mcast/common/input.h @@ -0,0 +1,38 @@ +/* + * (c) BayCom GmbH, http://www.baycom.de, info@baycom.de + * + * See the COPYING file for copyright information and + * how to reach the author. + * + */ + +#ifndef __INPUT_H__ +#define __INPUT_H__ +typedef struct +{ + int port; + char iface[IFNAMSIZ]; + time_t start_time; +#ifdef SERVER + int tuner_number; + char cfgpath[_POSIX_PATH_MAX]; + int verbose; +#endif +#ifdef CLIENT + char disec_conf_path[_POSIX_PATH_MAX]; + char rotor_conf_path[_POSIX_PATH_MAX]; + char cmd_sock_path[_POSIX_PATH_MAX]; + int tuner_type_limit[FE_DVBS2+1]; + int mld_start; + int ca_enable; + int ci_timeout; + int vdrdiseqcmode; + int reelcammode; +#endif +} cmdline_t; + +extern cmdline_t cmd; + +void get_options (int argc, char *argv[]); + +#endif |