Merge branch 'master' of github:/szmoore/MCTX3420
[matches/MCTX3420.git] / server / options.h
1 /**
2  * @file options.h
3  * @brief Define the Options structure and the g_options variable
4  */
5
6 #ifndef _OPTIONS_H
7 #define _OPTIONS_H
8
9
10 /** Store options passed or calculated from arguments to the program **/
11 typedef struct
12 {
13         /** Name of program **/
14         const char * program;
15         /** Determines at what level log messages are shown **/
16         int verbosity;
17         /** Time at which program begins to run **/
18         struct timeval start_time;
19         /** Time at which program exits **/
20         struct timeval end_time;
21
22         /** Path to ADC files **/
23         char * adc_device_path;
24
25 } Options;
26
27 /** The only instance of the Options struct **/
28 extern Options g_options;
29
30 #endif //_OPTIONS_H

UCC git Repository :: git.ucc.asn.au