summaryrefslogtreecommitdiff
path: root/mcast/common/input.h
blob: fbda65b7ddf57db6f32c8ee7e317e22a548692c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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