summaryrefslogtreecommitdiff
path: root/mcast/common/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'mcast/common/input.h')
-rw-r--r--mcast/common/input.h38
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