diff options
Diffstat (limited to 'src/tagr.h')
-rw-r--r-- | src/tagr.h | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -43,14 +43,16 @@ | |||
43 | 43 | ||
44 | struct monitor | 44 | struct monitor |
45 | { | 45 | { |
46 | char *id; | 46 | char *id; /* Monitor ID */ |
47 | char *name; | 47 | char *name; /* Full name */ |
48 | char *dir; | 48 | char *dir; /* Output directory */ |
49 | char *rate_unit; | 49 | char *rate_unit; /* Rate units */ |
50 | unsigned long max_rate; | 50 | unsigned long max_rate; /* Max. rate value */ |
51 | double scale; | 51 | unsigned long max_adjust; /* Adjustment for max. rate */ |
52 | double ystep; | 52 | double scale; /* Y (rate) scale */ |
53 | int swap; | 53 | double ystep; /* Step of Y grid, in fractions of max_rate */ |
54 | int ystep_absolute; /* When true, ystep is an absolute value */ | ||
55 | int swap; /* Swap input and output rates */ | ||
54 | }; | 56 | }; |
55 | 57 | ||
56 | extern int preprocess_only; | 58 | extern int preprocess_only; |
@@ -75,8 +77,8 @@ extern char *html_template; | |||
75 | extern char *html_input_file; | 77 | extern char *html_input_file; |
76 | extern int html_input_line; | 78 | extern int html_input_line; |
77 | extern int verbose_level; | 79 | extern int verbose_level; |
78 | extern char *rate_unit; | ||
79 | 80 | ||
81 | extern struct monitor default_monitor; | ||
80 | extern int percent_option; | 82 | extern int percent_option; |
81 | extern int transparent_option; | 83 | extern int transparent_option; |
82 | extern int zero_unknown_option; | 84 | extern int zero_unknown_option; |